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

Commit 67e6122

Browse files
author
Sven Verdoolaege
committed
Scop::makeScop: drop renaming of band partial schedules
The renaming was presumably meant to be able to compare against pet (rather than isl as the comment claims) and the use of pet has been removed in prehistory. The renaming therefore no longer serves any purpose.
1 parent fa0936f commit 67e6122

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

tc/core/constants.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ namespace polyhedral {
2222
// General constants to avoid hardcoding
2323
//
2424
constexpr auto kStatementLabel = "S_";
25-
constexpr auto kPartialScheduleLabel = "L_";
2625

2726
constexpr auto kAstNodeIdPrefix = "__node_";
2827

tc/core/polyhedral/scop.cc

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,6 @@ ScopUPtr Scop::makeScop(
6767
scop->halide.reductions = halide2isl::findReductions(components.stmt);
6868
scop->halide.iterators = std::move(tree.iterators);
6969

70-
// Set partial schedule tuples for proper comparison with ISL
71-
// schedules (needs DFSPreorder numbering). Just for testing.
72-
auto bands = ScheduleTree::collectDFSPreorder(
73-
scop->scheduleRoot(), detail::ScheduleTreeType::Band);
74-
for (size_t i = 0; i < bands.size(); ++i) {
75-
auto b = bands[i]->elemAs<ScheduleTreeElemBand>();
76-
CHECK(b);
77-
b->mupa_ = b->mupa_.set_tuple_name(
78-
isl::dim_type::set, kPartialScheduleLabel + std::to_string(i));
79-
}
80-
8170
return scop;
8271
}
8372

0 commit comments

Comments
 (0)