1. Fix three serious bugs in the comparison code.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 27 Feb 2007 18:23:40 +0000 (18:23 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 27 Feb 2007 18:23:40 +0000 (18:23 +0000)
commit1fa111e8d40ce99a9b960ec98c6c84d2ebdc8b02
tree98bbaefdcabf5f302d5549557a070ef53e14c378
parent409f092766e61ab317e46aec37b4a9234ead9b5a
1. Fix three serious bugs in the comparison code.
2. Change RoundDoubleToAPInt to take a bit width parameter. Use that
   parameter to limit the bit width of the result.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34673 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APInt.cpp