aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-08-07 22:35:16 +0000
committerBob Wilson <bob.wilson@apple.com>2012-08-07 22:35:16 +0000
commit61f3ad575911f72cbfcd328d1221e943b687ebf2 (patch)
treedac10fc42a864c49fab0eae70a309d1ec6ed531c /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parentfbdd25c13576d68ad2517390513c7a0f23d93919 (diff)
downloadllvm-61f3ad575911f72cbfcd328d1221e943b687ebf2.zip
llvm-61f3ad575911f72cbfcd328d1221e943b687ebf2.tar.gz
llvm-61f3ad575911f72cbfcd328d1221e943b687ebf2.tar.bz2
Fix a serious typo in InstCombine's optimization of comparisons.
An unsigned value converted to floating-point will always be greater than a negative constant. Unfortunately InstCombine reversed the check so that unsigned values were being optimized to always be greater than all positive floating-point constants. <rdar://problem/12029145> llvm-svn: 161452
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions