aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-12-20 07:57:41 +0000
committerChris Lattner <sabre@nondot.org>2010-12-20 07:57:41 +0000
commite7ae705c32906979a527926864345016e76867b9 (patch)
tree5641b2bc16d28481adb2d13f85baa03cb0bdac5f /test
parent018fb767b91d5ec396d56a3e61bd124918b59fa1 (diff)
downloadexternal_llvm-e7ae705c32906979a527926864345016e76867b9.zip
external_llvm-e7ae705c32906979a527926864345016e76867b9.tar.gz
external_llvm-e7ae705c32906979a527926864345016e76867b9.tar.bz2
pull byval processing out to its own helper function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/Inline/byval.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Transforms/Inline/byval.ll b/test/Transforms/Inline/byval.ll
index da0beab..08219fc 100644
--- a/test/Transforms/Inline/byval.ll
+++ b/test/Transforms/Inline/byval.ll
@@ -26,7 +26,8 @@ entry:
call void @f( %struct.ss* byval %S ) nounwind
ret i32 0
; CHECK: @test1()
-; CHECK: %b = alloca %struct.ss
+; CHECK: %S1 = alloca %struct.ss
+; CHECK: %S = alloca %struct.ss
; CHECK: call void @llvm.memcpy
; CHECK: ret i32 0
}
@@ -74,9 +75,9 @@ entry:
call void @f3( %struct.ss* byval align 64 %S) nounwind
ret void
; CHECK: @test3()
-; CHECK: %b = alloca %struct.ss, align 64
+; CHECK: %S1 = alloca %struct.ss, align 64
; CHECK: %S = alloca %struct.ss
; CHECK: call void @llvm.memcpy
-; CHECK: call void @g3(%struct.ss* %b)
+; CHECK: call void @g3(%struct.ss* %S1)
; CHECK: ret void
}