aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll')
-rw-r--r--test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll b/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
index 8fb5ffffba..1ac59278e7 100644
--- a/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
+++ b/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
@@ -24,7 +24,7 @@ define void @test0_no(i32* %p) nounwind {
; Add the readonly attribute, since there's just a call to a function which
; TBAA says doesn't modify any memory.
-; CHECK: define void @test1_yes(i32* %p) nounwind readonly {
+; CHECK: define void @test1_yes(i32* nocapture %p) nounwind readonly {
define void @test1_yes(i32* %p) nounwind {
call void @callee(i32* %p), !tbaa !1
ret void