Try to unbreak the polly build.

llvm-svn: 219080
This commit is contained in:
Benjamin Kramer 2014-10-05 11:58:57 +00:00
parent 9f4d9fa54e
commit ae81abfa38

View File

@ -537,9 +537,10 @@ bool ScopDetection::isValidMemoryAccess(Instruction &Inst,
// 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