From 1f9855a814fd61207d7fd4586d97c467fa85db1c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 4 Oct 2012 07:17:46 +0000 Subject: [PATCH] Use method to query for NoAlias attribute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165211 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/AliasAnalysis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp index f768eeca413..6238498cfe6 100644 --- a/lib/Analysis/AliasAnalysis.cpp +++ b/lib/Analysis/AliasAnalysis.cpp @@ -503,7 +503,7 @@ bool AliasAnalysis::canInstructionRangeModify(const Instruction &I1, bool llvm::isNoAliasCall(const Value *V) { if (isa(V) || isa(V)) return ImmutableCallSite(cast(V)) - .paramHasAttr(0, Attribute::NoAlias); + .paramHasNoAliasAttr(0); return false; }