[PATCH] D106059: [Polly][Isl] Stop generating isl::union_{set,map} from isl::space. NFC
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 15 07:15:32 PDT 2021
Meinersbur added inline comments.
================
Comment at: polly/lib/Analysis/DependenceInfo.cpp:645
isl::union_map Dependences = getDependences(TYPE_RAW | TYPE_WAW | TYPE_WAR);
- isl::space Space = S.getParamSpace();
- isl::union_map Schedule = isl::union_map::empty(Space);
+ isl::union_map Schedule = isl::union_map::empty(S.getContext().ctx());
----------------
Prefer `S.getIslCtx()`
================
Comment at: polly/lib/Analysis/ScopBuilder.cpp:3369
isl::union_set Domains = scop->getDomains();
- isl::union_map Accesses = isl::union_map::empty(scop->getParamSpace());
+ isl::union_map Accesses = isl::union_map::empty(scop->getContext().ctx());
----------------
Prefer `scop->getIslCtx()`
================
Comment at: polly/lib/Analysis/ScopInfo.cpp:2317
Scop::getAccessesOfType(std::function<bool(MemoryAccess &)> Predicate) {
- isl::union_map Accesses = isl::union_map::empty(getParamSpace());
+ isl::union_map Accesses = isl::union_map::empty(getContext().ctx());
----------------
Prefer `S.getIslCtx()`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106059/new/
https://reviews.llvm.org/D106059
More information about the llvm-commits
mailing list