diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-05-12 20:39:39 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-05-12 20:39:39 +0000 |
| commit | d4e5409f35d3397bab9da0f413f4026b0995f0d9 (patch) | |
| tree | c5eed6f1b792d37ffc7d92184b42311ac75d766c /llvm | |
| parent | 7ae106bc5e68565d495d88a6adf4f35644f5849c (diff) | |
| download | bcm5719-llvm-d4e5409f35d3397bab9da0f413f4026b0995f0d9.tar.gz bcm5719-llvm-d4e5409f35d3397bab9da0f413f4026b0995f0d9.zip | |
Remove the assertion failure of course... doh
llvm-svn: 6150
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/X86/InstSelectSimple.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp index 7d231e92966..6b2ba396805 100644 --- a/llvm/lib/Target/X86/InstSelectSimple.cpp +++ b/llvm/lib/Target/X86/InstSelectSimple.cpp @@ -1592,13 +1592,6 @@ void ISel::emitCastOperation(MachineBasicBlock *BB, // 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. |

