[polly] r340072 - [AST] Adapt Polly to AnalysisSetTracker changes. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 17 12:31:41 PDT 2018
Author: meinersbur
Date: Fri Aug 17 12:31:41 2018
New Revision: 340072
URL: http://llvm.org/viewvc/llvm-project?rev=340072&view=rev
Log:
[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.
Modified:
polly/trunk/lib/Analysis/ScopDetection.cpp
Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=340072&r1=340071&r2=340072&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Fri Aug 17 12:31:41 2018
@@ -1136,8 +1136,8 @@ bool ScopDetection::isValidAccess(Instru
// 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) {
More information about the llvm-commits
mailing list