Use "SINT_TO_FP" instead of "UINT_TO_FP" when getting the exponent. This was
authorBill Wendling <isanbard@gmail.com>
Tue, 20 Jan 2009 21:17:57 +0000 (21:17 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 20 Jan 2009 21:17:57 +0000 (21:17 +0000)
commite9a7286087a87cc1c5fe03453ca087f7b1a30271
tree34f7f32097d74f5427851d116fdf5c55aff1ed67
parent2be5893a0417313813739940b0347755234d2cc3
Use "SINT_TO_FP" instead of "UINT_TO_FP" when getting the exponent. This was
causing the limited precision stuff to produce the wrong result for values in
the range [0, 1).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62615 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp