[llvm-commits] [llvm] r58856 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Dale Johannesen
dalej at apple.com
Fri Nov 7 11:11:44 PST 2008
Author: johannes
Date: Fri Nov 7 13:11:43 2008
New Revision: 58856
URL: http://llvm.org/viewvc/llvm-project?rev=58856&view=rev
Log:
Fix unsigned->ppcf128 conversion.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp?rev=58856&r1=58855&r2=58856&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp Fri Nov 7 13:11:43 2008
@@ -950,10 +950,13 @@
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,
More information about the llvm-commits
mailing list