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

Commit a50ac5f

Browse files
authored
Merge pull request #463 from facebookresearch/schedule-extension-newline
schedule_print.cc: print each map of an extension on a new line
2 parents b93d260 + 2d0d658 commit a50ac5f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

tc/core/polyhedral/schedule_print.cc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,12 @@ std::ostream& ScheduleTreeElemDomain::write(std::ostream& os) const {
185185

186186
std::ostream& ScheduleTreeElemExtension::write(std::ostream& os) const {
187187
WS w;
188-
os << w.tab() << "extension(" << extension_ << ")";
188+
os << w.tab() << "extension(";
189+
for (const auto& e : extension_.get_map_list()) {
190+
WS w2;
191+
os << std::endl << w2.tab() << e;
192+
}
193+
os << ")";
189194
return os;
190195
}
191196

third-party/islpp

Submodule islpp updated from 9f13e43 to 12a5b72

0 commit comments

Comments
 (0)