mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 23:25:06 +00:00
I was sure I had thought about this and there was a reason it should work.
But it is entirely possible I am just crazy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1199,13 +1199,14 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DestType == MVT::f64 || DestType == MVT::f32 ||
|
if ((DestType == MVT::f64 || DestType == MVT::f32 ||
|
||||||
(
|
(
|
||||||
(opcode == ISD::LOAD || opcode == ISD::CopyFromReg ||
|
(opcode == ISD::LOAD || opcode == ISD::CopyFromReg ||
|
||||||
opcode == ISD::EXTLOAD) &&
|
opcode == ISD::EXTLOAD) &&
|
||||||
(N.getValue(0).getValueType() == MVT::f32 ||
|
(N.getValue(0).getValueType() == MVT::f32 ||
|
||||||
N.getValue(0).getValueType() == MVT::f64)
|
N.getValue(0).getValueType() == MVT::f64)
|
||||||
)
|
))
|
||||||
|
&& opcode != ISD::CALL
|
||||||
)
|
)
|
||||||
return SelectExprFP(N, Result);
|
return SelectExprFP(N, Result);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user