mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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:
parent
87726ac0f9
commit
0a32092103
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user