Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit f736ddb

Browse files
committed
drop activeStatements
This function is no longer used. Furthermore, it was supposed to be used under a no-longer-correct assumption about schedule tree structure.
1 parent 49200ae commit f736ddb

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

include/tc/core/polyhedral/schedule_transforms.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,6 @@ isl::union_set activeDomainPoints(
284284
const detail::ScheduleTree* root,
285285
const detail::ScheduleTree* node);
286286

287-
// Get the set of statement identifiers whose domains have at least one active
288-
// point at the given node, i.e. the statements that were not filtered away on
289-
// the path from root to node.
290-
std::unordered_set<isl::id, isl::IslIdIslHash> activeStatements(
291-
const detail::ScheduleTree* root,
292-
const detail::ScheduleTree* node);
293-
294287
////////////////////////////////////////////////////////////////////////////////
295288
// Experimental
296289
////////////////////////////////////////////////////////////////////////////////

src/core/polyhedral/schedule_transforms.cc

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,6 @@ isl::union_set activeDomainPoints(
135135
return domain;
136136
}
137137

138-
std::unordered_set<isl::id, isl::IslIdIslHash> activeStatements(
139-
const ScheduleTree* root,
140-
const ScheduleTree* tree) {
141-
std::unordered_set<isl::id, isl::IslIdIslHash> ids;
142-
auto domain = activeDomainPoints(root, tree).universe();
143-
for (auto d : isl::UnionAsVector<isl::union_set>(domain)) {
144-
ids.insert(d.get_tuple_id());
145-
}
146-
return ids;
147-
}
148-
149138
vector<ScheduleTree*> collectScheduleTreesPath(
150139
std::function<ScheduleTree*(ScheduleTree*)> next,
151140
ScheduleTree* start) {

0 commit comments

Comments
 (0)