summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2013-12-20 08:21:27 +0000
committerJustin Bogner <mail@justinbogner.com>2013-12-20 08:21:27 +0000
commit668eb1f746433bf7686fb5eb98df6ea047a917b5 (patch)
tree45c24d6c92d8655c16b7dc8ed435c88795a071de
parentf71b18e972414a5c18de6f466695f91a4dd0c934 (diff)
downloadbcm5719-llvm-668eb1f746433bf7686fb5eb98df6ea047a917b5.tar.gz
bcm5719-llvm-668eb1f746433bf7686fb5eb98df6ea047a917b5.zip
test: Make a branchweight test more specific
llvm-svn: 197790
-rw-r--r--llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll b/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
index ba00dc94335..3c0bfebbd56 100644
--- a/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
+++ b/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
@@ -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)
OpenPOWER on IntegriCloud