mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
fix something-o
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74fa64b072
commit
330ea12667
@ -625,7 +625,7 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) {
|
||||
return DAG.getNode(ISD::BIT_CONVERT, MVT::i32, Op);
|
||||
case ISD::SINT_TO_FP: {
|
||||
assert(Op.getOperand(0).getValueType() == MVT::i32);
|
||||
Op = DAG.getNode(ISD::BIT_CONVERT, MVT::f32, Op);
|
||||
Op = DAG.getNode(ISD::BIT_CONVERT, MVT::f32, Op.getOperand(0));
|
||||
// Convert the int value to FP in an FP register.
|
||||
return DAG.getNode(V8ISD::ITOF, Op.getValueType(), Op);
|
||||
}
|
||||
|
@ -625,7 +625,7 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) {
|
||||
return DAG.getNode(ISD::BIT_CONVERT, MVT::i32, Op);
|
||||
case ISD::SINT_TO_FP: {
|
||||
assert(Op.getOperand(0).getValueType() == MVT::i32);
|
||||
Op = DAG.getNode(ISD::BIT_CONVERT, MVT::f32, Op);
|
||||
Op = DAG.getNode(ISD::BIT_CONVERT, MVT::f32, Op.getOperand(0));
|
||||
// Convert the int value to FP in an FP register.
|
||||
return DAG.getNode(V8ISD::ITOF, Op.getValueType(), Op);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user