diff options
author | Jakub Staszak <jstaszak@apple.com> | 2011-07-31 03:27:24 +0000 |
---|---|---|
committer | Jakub Staszak <jstaszak@apple.com> | 2011-07-31 03:27:24 +0000 |
commit | a5dd5505883aa90d01d442e3a5db5aedc2277f9e (patch) | |
tree | ee5620a8483049f77389804417f6167442beda6e /lib/AsmParser/LLParser.cpp | |
parent | e2721f75503d9195d02b8d2dc4d196b9256873e9 (diff) |
Add Zero Heurestics to BranchProbabilityInfo. If we compare value to zero we
decide whether condition is likely to be true this way:
x == 0 -> false
x < 0 -> false
x <= 0 -> false
x != 0 -> true
x > 0 -> true
x >= 0 -> true
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
0 files changed, 0 insertions, 0 deletions