[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon May 12 15:40:48 PDT 2003
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.98 -> 1.99
---
Log message:
Remove the assertion failure of course... doh
---
Diffs of the changes:
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.98 llvm/lib/Target/X86/InstSelectSimple.cpp:1.99
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.98 Mon May 12 15:36:13 2003
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Mon May 12 15:39:39 2003
@@ -1592,13 +1592,6 @@
// Handle casts from integer to floating point now...
if (DestClass == cFP) {
- // unsigned int -> load as 64 bit int.
- // unsigned long long -> more complex
- if (SrcTy->isUnsigned() && SrcTy != Type::UByteTy) {
- assert(0 && "Cannot handle this type of cast!");
- abort(); // don't handle unsigned src yet!
- }
-
// Promote the integer to a type supported by FLD. We do this because there
// are no unsigned FLD instructions, so we must promote an unsigned value to
// a larger signed value, then use FLD on the larger value.
More information about the llvm-commits
mailing list