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

Commit 5651b42

Browse files
author
Sven Verdoolaege
committed
addSingletonReferenceGroups: use get_map_list
This will make it easier to switch to templated types.
1 parent 3a8e622 commit 5651b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc/core/polyhedral/memory_promotion.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void addSingletonReferenceGroups(
302302
// use currying to isolate the D part before intersecting with the domain
303303
// Compute initial groups with single reference per group.
304304
std::unordered_set<isl::id, isl::IslIdIslHash> unapproximatable;
305-
for (auto a : isl::UnionAsVector<isl::union_map>(accesses)) {
305+
for (auto a : accesses.get_map_list()) {
306306
if (isl::union_map(a.curry()).intersect_domain(domain).is_empty()) {
307307
continue;
308308
}

0 commit comments

Comments
 (0)