aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorJakub Staszak <jstaszak@apple.com>2011-07-31 03:27:24 +0000
committerJakub Staszak <jstaszak@apple.com>2011-07-31 03:27:24 +0000
commita5dd5505883aa90d01d442e3a5db5aedc2277f9e (patch)
treeee5620a8483049f77389804417f6167442beda6e /lib/CodeGen/RegAllocGreedy.cpp
parente2721f75503d9195d02b8d2dc4d196b9256873e9 (diff)
downloadexternal_llvm-a5dd5505883aa90d01d442e3a5db5aedc2277f9e.zip
external_llvm-a5dd5505883aa90d01d442e3a5db5aedc2277f9e.tar.gz
external_llvm-a5dd5505883aa90d01d442e3a5db5aedc2277f9e.tar.bz2
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/CodeGen/RegAllocGreedy.cpp')
0 files changed, 0 insertions, 0 deletions