summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopDetection.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2018-08-17 19:31:41 +0000
committerMichael Kruse <llvm@meinersbur.de>2018-08-17 19:31:41 +0000
commitb67e5d3f270e325305e0d620fd1f7ab5397498e3 (patch)
treeb69720553b83c9318a914591dea8580dc61caf27 /polly/lib/Analysis/ScopDetection.cpp
parentbb179a197c39d5a53ef7edcf93f7a63e86478b90 (diff)
downloadbcm5719-llvm-b67e5d3f270e325305e0d620fd1f7ab5397498e3.tar.gz
bcm5719-llvm-b67e5d3f270e325305e0d620fd1f7ab5397498e3.zip
[AST] Adapt Polly to AnalysisSetTracker changes. NFC.
The method AliasSetTracker::getAliasSetForPointer was removed and replaced by AliasSetTracker::getAliasSetFor for the restructuring in r339930. Since Polly uses AliasSetTracker::getAliasSetForPointer, a temporary fix has been committed in r339937 with a comment: Can someone from polly please migrate usage and then delete the wrapper? This commit is doing exactly that. llvm-svn: 340072
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
-rw-r--r--polly/lib/Analysis/ScopDetection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index 7108794534d..41b9aaf3099 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -1136,8 +1136,8 @@ bool ScopDetection::isValidAccess(Instruction *Inst, const SCEV *AF,
// any other pointer. This cannot be handled at the moment.
AAMDNodes AATags;
Inst->getAAMetadata(AATags);
- AliasSet &AS = Context.AST.getAliasSetForPointer(
- BP->getValue(), MemoryLocation::UnknownSize, AATags);
+ AliasSet &AS = Context.AST.getAliasSetFor(
+ MemoryLocation(BP->getValue(), MemoryLocation::UnknownSize, AATags));
if (!AS.isMustAlias()) {
if (PollyUseRuntimeAliasChecks) {
OpenPOWER on IntegriCloud