summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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