summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.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
commit17af66a62fba59653facee90a5e1b9b9347eee90 (patch)
tree1649ac6b1dbda95bcf40e93ac903f6eb44ca306f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent99d53ff456701ee440e3b080bec3d88189f2cd52 (diff)
downloadbcm5719-llvm-17af66a62fba59653facee90a5e1b9b9347eee90.tar.gz
bcm5719-llvm-17af66a62fba59653facee90a5e1b9b9347eee90.zip
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 llvm-svn: 136583
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud