diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-27 19:29:54 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-27 19:29:54 +0000 |
commit | ac419b52ad86cd3a350c0cc8c5239ff0e65b2d63 (patch) | |
tree | 45d0b2af74fcf9ed646361b16a4582ccd036a463 /llvm/lib/Support/APInt.cpp | |
parent | e4f65e198372a31dd4ac543553e3ffa1d781944f (diff) | |
download | bcm5719-llvm-ac419b52ad86cd3a350c0cc8c5239ff0e65b2d63.tar.gz bcm5719-llvm-ac419b52ad86cd3a350c0cc8c5239ff0e65b2d63.zip |
For PR1205:
Implement review feedback:
1. Use new APInt::RoundDoubleToAPInt interface to specify the bit width so
that we don't have to truncate or extend in constant folding.
2. Fix a pasteo in SDiv that prevented a check for overflow.
3. Fix the shift operators: undef happens when the shift amount is equal
to the bitwidth.
llvm-svn: 34677
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions