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

Commit 6b9bdd3

Browse files
author
Sven Verdoolaege
committed
{prefix,partial}Schedule: do not include mapping filters
There are three main use cases of these schedules - the schedule stored in PromotionInfo is only used during AST generation after any outer mapping has already been taken into account, so it does not need to store the mapping itself - scoped accesses are relative to the outer schedule dimensions, so they do not need to specifically take into account any outer mapping - unrolling explicitly takes into account the mapping
1 parent 03d1786 commit 6b9bdd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc/core/polyhedral/schedule_transforms.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ isl::union_map extendSchedule(
5555
schedule =
5656
schedule.flat_range_product(isl::union_map::from(bandElem->mupa_));
5757
}
58-
} else if (auto filterElem = node->elemAsBase<ScheduleTreeElemFilter>()) {
58+
} else if (auto filterElem = node->elemAs<ScheduleTreeElemFilter>()) {
5959
schedule = schedule.intersect_domain(filterElem->filter_);
6060
} else if (auto extensionElem = node->elemAs<ScheduleTreeElemExtension>()) {
6161
// FIXME: we may need to restrict the range of reversed extension map to

0 commit comments

Comments
 (0)