Fix a nondeterministic bug in APInt::roundToDouble;
authorDale Johannesen <dalej@apple.com>
Wed, 12 Aug 2009 17:42:34 +0000 (17:42 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 12 Aug 2009 17:42:34 +0000 (17:42 +0000)
commit39c177d8b7b03d5a851a3adf5ae816da1211c49e
treeb429b7482fd9a6db3d8f593a6d1b14ff2345b960
parent6b018979da52c9760363b8b74951bbe259044ea8
Fix a nondeterministic bug in APInt::roundToDouble;
when !isSingleWord() but getActiveBits() is small,
we were using the pointer value instead of the low
word of the integer value.

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