[CFL-AA] CFL-AA should not assert on an va_arg instruction
[oota-llvm.git] / lib / Analysis / AliasAnalysis.cpp
index 8aee8b1aa335dca3f10ad11bb80c93db3bc143ae..e02d6058260829f8fb0a7019cbe0197fe875b70b 100644 (file)
@@ -316,7 +316,7 @@ AliasAnalysis::getLocationForDest(const MemIntrinsic *MTI) {
   // memcpy/memmove can have AA tags. For memcpy, they apply
   // to both the source and the destination.
   AAMDNodes AATags;
-  MTI->getMetadata(AATags);
+  MTI->getAAMetadata(AATags);
  
   return Location(MTI->getRawDest(), Size, AATags);
 }