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 | a5c7472726578c0884a6e69a4f808e4aa9a5d8ed (patch) | |
tree | 207cdaf307e4b0bd575628f7bd5c4c959a8a5834 /lib/Support/APInt.cpp | |
parent | 55fc8a43ee60fdfcc59a7fdc74c2479b84d25f28 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions