summaryrefslogtreecommitdiff
path: root/test/Transforms/DeadArgElim
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-12 14:54:12 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-12 14:54:12 +0000
commit55ec2218c448ef9e0d09b5534885b6d2a9786a73 (patch)
tree94316353dd83c026d41bb9101017c9a82796ffb3 /test/Transforms/DeadArgElim
parent178504b07b793b3fde46d950b8f10e0794193e02 (diff)
downloadllvm-55ec2218c448ef9e0d09b5534885b6d2a9786a73.tar.gz
llvm-55ec2218c448ef9e0d09b5534885b6d2a9786a73.tar.bz2
llvm-55ec2218c448ef9e0d09b5534885b6d2a9786a73.tar.xz
Start using CHECK-LABEL in some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/DeadArgElim')
-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