[llvm-commits] [llvm] r165211 - /llvm/trunk/lib/Analysis/AliasAnalysis.cpp
Bill Wendling
isanbard at gmail.com
Thu Oct 4 00:17:46 PDT 2012
Author: void
Date: Thu Oct 4 02:17:46 2012
New Revision: 165211
URL: http://llvm.org/viewvc/llvm-project?rev=165211&view=rev
Log:
Use method to query for NoAlias attribute.
Modified:
llvm/trunk/lib/Analysis/AliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/AliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasAnalysis.cpp?rev=165211&r1=165210&r2=165211&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasAnalysis.cpp Thu Oct 4 02:17:46 2012
@@ -503,7 +503,7 @@
bool llvm::isNoAliasCall(const Value *V) {
if (isa<CallInst>(V) || isa<InvokeInst>(V))
return ImmutableCallSite(cast<Instruction>(V))
- .paramHasAttr(0, Attribute::NoAlias);
+ .paramHasNoAliasAttr(0);
return false;
}
More information about the llvm-commits
mailing list