diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-06-04 06:49:46 +0300 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-06-04 06:49:46 +0300 |
commit | bdb4a39ad861f5a107a72bb488c83e167749d567 (patch) | |
tree | 6d76d8f8e35354b45596b1f1faccad3df238dfcc /polly | |
parent | 7175f16cdbb480fc96a830f0ce0daa8e4e533c42 (diff) |
Update Polly for the AA/MemoryLocation refactoring.
llvm-svn: 239008
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index a297bc2a440c..235059df6713 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -452,7 +452,7 @@ bool ScopDetection::isInvariant(const Value &Val, const Region &Reg) const { // When the instruction is a load instruction, check that no write to memory // in the region aliases with the load. if (const LoadInst *LI = dyn_cast<LoadInst>(I)) { - AliasAnalysis::Location Loc = AA->getLocation(LI); + auto Loc = MemoryLocation::get(LI); // Check if any basic block in the region can modify the location pointed to // by 'Loc'. If so, 'Val' is (likely) not invariant in the region. |