[polly] r219080 - Try to unbreak the polly build.

Benjamin Kramer benny.kra at googlemail.com
Sun Oct 5 04:58:57 PDT 2014


Author: d0k
Date: Sun Oct  5 06:58:57 2014
New Revision: 219080

URL: http://llvm.org/viewvc/llvm-project?rev=219080&view=rev
Log:
Try to unbreak the polly build.

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=219080&r1=219079&r2=219080&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Sun Oct  5 06:58:57 2014
@@ -537,9 +537,10 @@ bool ScopDetection::isValidMemoryAccess(
 
   // Check if the base pointer of the memory access does alias with
   // any other pointer. This cannot be handled at the moment.
-  AliasSet &AS =
-      Context.AST.getAliasSetForPointer(BaseValue, AliasAnalysis::UnknownSize,
-                                        Inst.getMetadata(LLVMContext::MD_tbaa));
+  AAMDNodes AATags;
+  Inst.getAAMetadata(AATags);
+  AliasSet &AS = Context.AST.getAliasSetForPointer(
+      BaseValue, AliasAnalysis::UnknownSize, AATags);
 
   // INVALID triggers an assertion in verifying mode, if it detects that a
   // SCoP was detected by SCoP detection and that this SCoP was invalidated by





More information about the llvm-commits mailing list