test: Make a branchweight test more specific
authorJustin Bogner <mail@justinbogner.com>
Fri, 20 Dec 2013 08:21:27 +0000 (08:21 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 20 Dec 2013 08:21:27 +0000 (08:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197790 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SimplifyCFG/preserve-branchweights.ll

index ba00dc9433559d154231d07f6ea6561d47231a53..3c0bfebbd5649eb293a871ff4631dbbe6aff3f74 100644 (file)
@@ -301,7 +301,9 @@ entry:
     i32 1, label %sw.bb
   ], !prof !9
 ; CHECK-LABEL: @test12(
-; CHECK-NOT: switch
+; CHECK-NEXT: entry:
+; CHECK-NEXT: call void @helper
+; CHECK-NEXT: ret void
 
 sw.bb:
   call void @helper(i32 0)