Author: lattner Date: Sat Nov 24 12:37:20 2007 New Revision: 44302 URL: http://llvm.org/viewvc/llvm-project?rev=44302&view=rev Log: remove bogus assertion that broke CodeGen/Generic/cast-fp.ll on x86 among others.
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=44302&r1=44301&r2=44302&view=diff ============================================================================== --- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original) +++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Nov 24 12:37:20 2007 @@ -3973,9 +3973,6 @@ } 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(); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits