diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-21 23:19:50 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-21 23:19:50 +0000 |
commit | e4e40030325ecfb8c450ce45aa961071123df54d (patch) | |
tree | 266231544c34bb5c01b9f041b4439e65c217a5d6 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 3a3aacfe10cc6a96de7357e07dcf8b3f0e5f63bb (diff) |
For PR1248:
* Fix some indentation and comments in InsertRangeTest
* Add an "IsSigned" parameter to AddWithOverflow and make it handle signed
additions. Also, APIntify this function so it works with any bitwidth.
* For the icmp pred ([us]div %X, C1), C2 transforms, exit early if the
div instruction's RHS is zero.
* Finally, for icmp pred (sdiv %X, C1), -C2, fix an off-by-one error. The
HiBound needs to be incremented in order to get the range test correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions