diff options
Diffstat (limited to 'llvm/test/Transforms/CodeExtractor/MultipleExitBranchProb.ll')
-rw-r--r-- | llvm/test/Transforms/CodeExtractor/MultipleExitBranchProb.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/CodeExtractor/MultipleExitBranchProb.ll b/llvm/test/Transforms/CodeExtractor/MultipleExitBranchProb.ll index e37b7e63645..425e9697359 100644 --- a/llvm/test/Transforms/CodeExtractor/MultipleExitBranchProb.ll +++ b/llvm/test/Transforms/CodeExtractor/MultipleExitBranchProb.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -partial-inliner -S | FileCheck %s +; RUN: opt < %s -partial-inliner -max-num-inline-blocks=2 -S | FileCheck %s ; This test checks to make sure that CodeExtractor updates ; the exit branch probabilities for multiple exit blocks. @@ -22,7 +22,7 @@ ret i32 %val ; CHECK-LABEL: @dummyCaller ; CHECK: call -; CHECK-NEXT: br i1 {{.*}}!prof [[COUNT1:![0-9]+]] +; CHECK-NEXT: br i1 {{.*}}return.i{{.*}}return.2{{.*}}!prof [[COUNT1:![0-9]+]] } !llvm.module.flags = !{!0} @@ -31,4 +31,4 @@ ret i32 %val !2 = !{!"branch_weights", i32 5, i32 5} !3 = !{!"branch_weights", i32 4, i32 1} -; CHECK: [[COUNT1]] = !{!"branch_weights", i32 8, i32 31} +; CHECK: [[COUNT1]] = !{!"branch_weights", i32 31, i32 8} |