From 35c913b5b1916e747c86a24997f63e7d5dedf5d3 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 20 Dec 2013 08:21:27 +0000 Subject: [PATCH] test: Make a branchweight test more specific git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197790 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/SimplifyCFG/preserve-branchweights.ll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Transforms/SimplifyCFG/preserve-branchweights.ll b/test/Transforms/SimplifyCFG/preserve-branchweights.ll index ba00dc94335..3c0bfebbd56 100644 --- a/test/Transforms/SimplifyCFG/preserve-branchweights.ll +++ b/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)