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

Commit d88c6c3

Browse files
Merge pull request #260 from facebookresearch/pr/clean_up
ScheduleTreeElemContext::write: do not treat context as union set
2 parents a401619 + 16eb461 commit d88c6c3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/core/polyhedral/schedule_print.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,7 @@ std::ostream& ScheduleTreeElemBand::write(std::ostream& os) const {
165165

166166
std::ostream& ScheduleTreeElemContext::write(std::ostream& os) const {
167167
WS w;
168-
os << w.tab() << "context(";
169-
for (const auto& u : isl::UNION_SET(context_)) {
170-
WS w2;
171-
os << std::endl << w2.tab() << u;
172-
}
173-
os << ")";
168+
os << w.tab() << "context(" << context_ << ")";
174169
return os;
175170
}
176171

0 commit comments

Comments
 (0)