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

Commit 84d1363

Browse files
author
Sven Verdoolaege
committed
partialScheduleMupa: use templated isl types
1 parent 589ba9e commit 84d1363

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tc/core/polyhedral/schedule_utils-inl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ inline isl::MultiUnionPwAff<Statement, Schedule> partialScheduleMupa(
155155
const detail::ScheduleTree* tree) {
156156
using namespace polyhedral::detail;
157157

158-
isl::multi_union_pw_aff prefix = prefixScheduleMupa<Schedule>(root, tree);
158+
auto prefix = prefixScheduleMupa<Schedule>(root, tree);
159159
auto band = tree->as<detail::ScheduleTreeBand>();
160-
auto partial = band ? prefix.flat_range_product(band->mupa_) : prefix;
161-
return isl::MultiUnionPwAff<Statement, Schedule>(partial);
160+
return band ? prefix.template flat_range_product<Schedule>(band->mupa_)
161+
: prefix;
162162
}
163163

164164
/*

0 commit comments

Comments
 (0)