test: Prefer CHECK-LABEL to CHECK in branchweight tests
authorJustin Bogner <mail@justinbogner.com>
Fri, 20 Dec 2013 08:21:24 +0000 (08:21 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 20 Dec 2013 08:21:24 +0000 (08:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197789 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SimplifyCFG/preserve-branchweights.ll

index 912544646c04bb2cd82ebacbca2f2a47d0496bf2..ba00dc9433559d154231d07f6ea6561d47231a53 100644 (file)
@@ -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: