Try to unbreak the polly build.
llvm-svn: 219080
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index e25d76e..8b1c68c 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -537,9 +537,10 @@
// 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