summaryrefslogtreecommitdiff
path: root/test/Transforms/DeadArgElim/returned.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/DeadArgElim/returned.ll')
-rw-r--r--test/Transforms/DeadArgElim/returned.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/DeadArgElim/returned.ll b/test/Transforms/DeadArgElim/returned.ll
index c4d3ec7d3c..cbee026f9a 100644
--- a/test/Transforms/DeadArgElim/returned.ll
+++ b/test/Transforms/DeadArgElim/returned.ll
@@ -3,14 +3,14 @@
%Ty = type { i32, i32 }
; sanity check that the argument and return value are both dead
-; CHECK: define internal void @test1()
+; CHECK-LABEL: define internal void @test1()
define internal %Ty* @test1(%Ty* %this) {
ret %Ty* %this
}
; do not keep alive the return value of a function with a dead 'returned' argument
-; CHECK: define internal void @test2()
+; CHECK-LABEL: define internal void @test2()
define internal %Ty* @test2(%Ty* returned %this) {
ret %Ty* %this
@@ -20,7 +20,7 @@ define internal %Ty* @test2(%Ty* returned %this) {
@dummy = global %Ty* null
; sanity check that return value is dead
-; CHECK: define internal void @test3(%Ty* %this)
+; CHECK-LABEL: define internal void @test3(%Ty* %this)
define internal %Ty* @test3(%Ty* %this) {
store volatile %Ty* %this, %Ty** @dummy
@@ -28,7 +28,7 @@ define internal %Ty* @test3(%Ty* %this) {
}
; keep alive return value of a function if the 'returned' argument is live
-; CHECK: define internal %Ty* @test4(%Ty* returned %this)
+; CHECK-LABEL: define internal %Ty* @test4(%Ty* returned %this)
define internal %Ty* @test4(%Ty* returned %this) {
store volatile %Ty* %this, %Ty** @dummy
@@ -36,7 +36,7 @@ define internal %Ty* @test4(%Ty* returned %this) {
}
; don't do this if 'returned' is on the call site...
-; CHECK: define internal void @test5(%Ty* %this)
+; CHECK-LABEL: define internal void @test5(%Ty* %this)
define internal %Ty* @test5(%Ty* %this) {
store volatile %Ty* %this, %Ty** @dummy