summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-27 19:29:54 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-27 19:29:54 +0000
commitac419b52ad86cd3a350c0cc8c5239ff0e65b2d63 (patch)
tree45d0b2af74fcf9ed646361b16a4582ccd036a463 /llvm/lib/Support/APInt.cpp
parente4f65e198372a31dd4ac543553e3ffa1d781944f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud