aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-26 04:40:18 +0000
committerDan Gohman <gohman@apple.com>2010-01-26 04:40:18 +0000
commit51aaf02821b2a12e11fdd56a5965ad99bfd13fb2 (patch)
treec034d771c0976716412e3c0b18d51735dcc50489 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentc1821155bf6f1e52463b51c25f03b4abf7f77c79 (diff)
downloadllvm-51aaf02821b2a12e11fdd56a5965ad99bfd13fb2.zip
llvm-51aaf02821b2a12e11fdd56a5965ad99bfd13fb2.tar.gz
llvm-51aaf02821b2a12e11fdd56a5965ad99bfd13fb2.tar.bz2
Fix the the ceiling-division used in computing the MaxBECount so that it doesn't
have trouble with an intermediate add overflowing. Also, be more conservative about the case where the induction variable in an SLT loop exit can step past the RHS of the SLT and overflow in a single step. Make getSignedRange more aggressive, to recover for some common cases which the above fixes pessimized. This addresses rdar://7561161. llvm-svn: 94512
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions