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 | f40711637f727a07c6265f8cf3194a2bc34ca2a7 (patch) | |
tree | 8791692bfae69713da16264d4d012d4d72eed8c4 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 925e8aa370f243a879d29a2a101d90f4da2f7b7a (diff) | |
download | bcm5719-llvm-f40711637f727a07c6265f8cf3194a2bc34ca2a7.tar.gz bcm5719-llvm-f40711637f727a07c6265f8cf3194a2bc34ca2a7.zip |
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.
llvm-svn: 35247
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions