aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-10-24 13:50:56 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-10-24 13:50:56 +0000
commit13b10731abfc006fce790c5c8205cd24c7d67de8 (patch)
treeeb1a73b00a86c6246051239c5e58c7cb28c6b5ac /lib/CodeGen/MachineBlockPlacement.cpp
parentde1c9bb45017e25b5fc2b77e15d3c377f6572075 (diff)
Implement comparison operators for BranchProbability in a way that can't overflow INT64_MAX.
Add a test case for the edge case that triggers this. Thanks to Chandler for bringing this to my attention. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions