summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/BranchProbabilityInfo/basic.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-04-14 15:56:33 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-04-14 15:56:33 +0000
commit2defea0efa67969c06a00b7b384ef5bf93ad50ea (patch)
treedff371b2c26a7f116dce5d3f72cc420437f79522 /llvm/test/Analysis/BranchProbabilityInfo/basic.ll
parent7a20ed762761c93f517e0a2c8a809ba57ab4831a (diff)
downloadbcm5719-llvm-2defea0efa67969c06a00b7b384ef5bf93ad50ea.tar.gz
bcm5719-llvm-2defea0efa67969c06a00b7b384ef5bf93ad50ea.zip
Revert "The code that originally made me discover this is:"
This reverts commit r234898. CodeGen/ARM/2013-10-11-select-stalls.ll was faling. llvm-svn: 234903
Diffstat (limited to 'llvm/test/Analysis/BranchProbabilityInfo/basic.ll')
-rw-r--r--llvm/test/Analysis/BranchProbabilityInfo/basic.ll28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/Analysis/BranchProbabilityInfo/basic.ll b/llvm/test/Analysis/BranchProbabilityInfo/basic.ll
index 2c9c1561868..0f669119bfe 100644
--- a/llvm/test/Analysis/BranchProbabilityInfo/basic.ll
+++ b/llvm/test/Analysis/BranchProbabilityInfo/basic.ll
@@ -212,31 +212,3 @@ exit:
ret i32 %result
}
-define i32 @zero3(i32 %i, i32 %a, i32 %b) {
-; CHECK: Printing analysis {{.*}} for function 'zero3'
-entry:
-; AND'ing with a single bit bitmask essentially leads to a bool comparison,
-; meaning we don't have probability information.
- %and = and i32 %i, 2
- %tobool = icmp eq i32 %and, 0
- br i1 %tobool, label %then, label %else
-; CHECK: edge entry -> then probability is 16 / 32
-; CHECK: edge entry -> else probability is 16 / 32
-
-then:
-; AND'ing with other bitmask might be something else, so we still assume the
-; usual probabilities.
- %and2 = and i32 %i, 5
- %tobool2 = icmp eq i32 %and2, 0
- br i1 %tobool2, label %else, label %exit
-; CHECK: edge then -> else probability is 12 / 32
-; CHECK: edge then -> exit probability is 20 / 32
-
-else:
- br label %exit
-
-exit:
- %result = phi i32 [ %a, %then ], [ %b, %else ]
- ret i32 %result
-}
-
OpenPOWER on IntegriCloud