summaryrefslogtreecommitdiffstats
path: root/polly/lib/Transform/Simplify.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-07-23 04:08:38 +0000
committerTobias Grosser <tobias@grosser.es>2017-07-23 04:08:38 +0000
commit1515f6b9373c622aaefad056a8c3a45e3c9a266d (patch)
tree2e56f7c3f94e20daf096a650fc3bfc1f8fb43d00 /polly/lib/Transform/Simplify.cpp
parent22da5f087a6a799dfd684760d81f22d5fbea047b (diff)
downloadbcm5719-llvm-1515f6b9373c622aaefad056a8c3a45e3c9a266d.tar.gz
bcm5719-llvm-1515f6b9373c622aaefad056a8c3a45e3c9a266d.zip
Move MemoryAccess::NewAccessRelation to isl++
We also move related accessor functions llvm-svn: 308840
Diffstat (limited to 'polly/lib/Transform/Simplify.cpp')
-rw-r--r--polly/lib/Transform/Simplify.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/lib/Transform/Simplify.cpp b/polly/lib/Transform/Simplify.cpp
index 008503bdbb3..82920a12805 100644
--- a/polly/lib/Transform/Simplify.cpp
+++ b/polly/lib/Transform/Simplify.cpp
@@ -170,7 +170,7 @@ private:
if (!Acc->isWrite())
continue;
- auto AccRel = give(Acc->getAccessRelation());
+ isl::map AccRel = Acc->getAccessRelation();
auto AccRelSpace = AccRel.get_space();
// Spaces being different means that they access different arrays.
@@ -211,7 +211,7 @@ private:
if (Stmt.isRegionStmt() && isExplicitAccess(MA))
break;
- auto AccRel = give(MA->getAccessRelation());
+ auto AccRel = MA->getAccessRelation();
AccRel = AccRel.intersect_domain(Domain);
AccRel = AccRel.intersect_params(give(S->getContext()));
@@ -265,10 +265,10 @@ private:
if (!RA->isLatestArrayKind())
continue;
- auto WARel = give(WA->getLatestAccessRelation());
+ auto WARel = WA->getLatestAccessRelation();
WARel = WARel.intersect_domain(give(WA->getStatement()->getDomain()));
WARel = WARel.intersect_params(give(S->getContext()));
- auto RARel = give(RA->getLatestAccessRelation());
+ auto RARel = RA->getLatestAccessRelation();
RARel = RARel.intersect_domain(give(RA->getStatement()->getDomain()));
RARel = RARel.intersect_params(give(S->getContext()));
@@ -297,7 +297,7 @@ private:
for (auto *WA : StoresToRemove) {
auto Stmt = WA->getStatement();
- auto AccRel = give(WA->getAccessRelation());
+ auto AccRel = WA->getAccessRelation();
auto AccVal = WA->getAccessValue();
DEBUG(dbgs() << "Cleanup of " << WA << ":\n");
OpenPOWER on IntegriCloud