diff options
author | Dale Johannesen <dalej@apple.com> | 2008-11-07 19:11:43 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-11-07 19:11:43 +0000 |
commit | bc3c4296c03c6b9aee3cce68ae33279f5ad5ca2b (patch) | |
tree | 397bfb7af0e0d7dcc0e5e710456f728956133a0b | |
parent | 82b80d9884efa40d63e862c7456ed6a927efb9b8 (diff) | |
download | external_llvm-bc3c4296c03c6b9aee3cce68ae33279f5ad5ca2b.zip external_llvm-bc3c4296c03c6b9aee3cce68ae33279f5ad5ca2b.tar.gz external_llvm-bc3c4296c03c6b9aee3cce68ae33279f5ad5ca2b.tar.bz2 |
Fix unsigned->ppcf128 conversion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58856 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp index 903de80..87951cc 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp @@ -950,10 +950,13 @@ void DAGTypeLegalizer::ExpandFloatRes_XINT_TO_FP(SDNode *N, SDValue &Lo, assert(false && "Unsupported UINT_TO_FP!"); case MVT::i32: Parts = TwoE32; + break; case MVT::i64: Parts = TwoE64; + break; case MVT::i128: Parts = TwoE128; + break; } Lo = DAG.getNode(ISD::FADD, VT, Hi, |