summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2013-12-20 08:21:24 +0000
committerJustin Bogner <mail@justinbogner.com>2013-12-20 08:21:24 +0000
commita2323825cb54c204246981ab28a47bda9c8b42bf (patch)
tree68a01f967bb7c05e8f44f5cdbac639c3ca778a41 /test
parent6692ce18e83ee2b4116d651eb3a9a557cd6a754f (diff)
downloadllvm-a2323825cb54c204246981ab28a47bda9c8b42bf.tar.gz
llvm-a2323825cb54c204246981ab28a47bda9c8b42bf.tar.bz2
llvm-a2323825cb54c204246981ab28a47bda9c8b42bf.tar.xz
test: Prefer CHECK-LABEL to CHECK in branchweight tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/SimplifyCFG/preserve-branchweights.ll9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/Transforms/SimplifyCFG/preserve-branchweights.ll b/test/Transforms/SimplifyCFG/preserve-branchweights.ll
index 912544646c..ba00dc9433 100644
--- a/test/Transforms/SimplifyCFG/preserve-branchweights.ll
+++ b/test/Transforms/SimplifyCFG/preserve-branchweights.ll
@@ -87,7 +87,7 @@ entry:
i32 2, label %sw.bb
i32 3, label %sw.bb1
], !prof !3
-; CHECK: test5
+; CHECK-LABEL: @test5(
; CHECK: switch i32 %N, label %sw2 [
; CHECK: i32 3, label %sw.bb1
; CHECK: i32 2, label %sw.bb
@@ -119,7 +119,7 @@ entry:
i32 2, label %sw.bb
i32 3, label %sw.bb1
], !prof !4
-; CHECK: test6
+; CHECK-LABEL: @test6(
; CHECK: switch i32 %N, label %sw.epilog
; CHECK: i32 3, label %sw.bb1
; CHECK: i32 2, label %sw.bb
@@ -266,7 +266,7 @@ lor.end:
call void @helper(i32 0) nounwind
ret void
-; CHECK: test10
+; CHECK-LABEL: @test10(
; CHECK: %x.off = add i32 %x, -1
; CHECK: %switch = icmp ult i32 %x.off, 3
; CHECK: br i1 %switch, label %lor.end, label %lor.rhs, !prof !8
@@ -279,6 +279,7 @@ define void @test11(i32 %x) nounwind {
i32 21, label %b
i32 24, label %c
], !prof !8
+; CHECK-LABEL: @test11(
; CHECK: %cond = icmp eq i32 %i, 24
; CHECK: br i1 %cond, label %c, label %a, !prof !9
@@ -299,7 +300,7 @@ entry:
switch i32 %N, label %sw.bb [
i32 1, label %sw.bb
], !prof !9
-; CHECK: test12
+; CHECK-LABEL: @test12(
; CHECK-NOT: switch
sw.bb: