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

Commit 9316b49

Browse files
Merge pull request #404 from facebookresearch/pr/pet
Scop::makeScop: drop renaming of band partial schedules
2 parents fa0936f + 67e6122 commit 9316b49

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)