diff options
| author | Easwaran Raman <eraman@google.com> | 2017-11-09 23:17:52 +0000 |
|---|---|---|
| committer | Easwaran Raman <eraman@google.com> | 2017-11-09 23:17:52 +0000 |
| commit | e8c4bf54ba88898bcedd3b152bec46580cba1a44 (patch) | |
| tree | a5d368131658623ac1e62e350550c6bad7907b64 /llvm | |
| parent | bc55ab6397ddf102e8cdd6a327161d6336abedae (diff) | |
| download | bcm5719-llvm-e8c4bf54ba88898bcedd3b152bec46580cba1a44.tar.gz bcm5719-llvm-e8c4bf54ba88898bcedd3b152bec46580cba1a44.zip | |
[SimplifyCFG] Fix a test case.
This was first committed in r317845, but had the order of branch weights
wrong and didn't properly check the output.
llvm-svn: 317848
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll b/llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll index a00374611c8..b4f546ede7e 100644 --- a/llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll +++ b/llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll @@ -14,6 +14,7 @@ define i1 @repeated_signbits(i8 %condition) { ; CHECK-DAG: i32 0, label %a ; CHECK-DAG: i32 127, label %a ; CHECK-NEXT: ] +; CHECK-NOT: , !prof ; entry: %sext = sext i8 %condition to i32 @@ -35,5 +36,5 @@ default: ret i1 0 } -!1 = !{!"branch_weights", i32 1, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0} +!1 = !{!"branch_weights", i32 0, i32 1, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0} |

