Remove the assertion failure of course... doh

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-05-12 20:39:39 +00:00
parent 8c1919475f
commit b70c1381b4
2 changed files with 0 additions and 14 deletions

View File

@ -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.

View File

@ -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.