diff options
author | Michael Kruse <llvm@meinersbur.de> | 2018-08-17 19:31:41 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2018-08-17 19:31:41 +0000 |
commit | 859c1ec207de318cd5a96ea1ec33affff7eb920e (patch) | |
tree | 68ebdc3be56497f2e09e9f4a78af531ec8993344 /polly | |
parent | 2c606fd52a416f62cd2dc25cca3bd8ecaf21da20 (diff) |
[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.
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 4 |
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) { |