remove bogus assertion that broke CodeGen/Generic/cast-fp.ll on x86

among others.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-11-24 18:37:20 +00:00
parent 87726ac0f9
commit 0a32092103

View File

@ -3973,9 +3973,6 @@ FP_TO_SINTHelper(SDOperand Op, SelectionDAG &DAG) {
}
SDOperand X86TargetLowering::LowerFP_TO_SINT(SDOperand Op, SelectionDAG &DAG) {
assert((Op.getValueType() != MVT::i64 || Subtarget->is64Bit()) &&
"This FP_TO_SINT must be expanded!");
std::pair<SDOperand,SDOperand> Vals = FP_TO_SINTHelper(Op, DAG);
SDOperand FIST = Vals.first, StackSlot = Vals.second;
if (FIST.Val == 0) return SDOperand();