mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Don't hand ISD::CALL nodes off to SelectExprFP. This fixes siod.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dea29e25c3
commit
a0e3e9474f
@ -1388,7 +1388,8 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
||||
DestType = N.getValue(0).getValueType();
|
||||
|
||||
if (DestType == MVT::f64 || DestType == MVT::f32)
|
||||
if (ISD::LOAD != opcode && ISD::EXTLOAD != opcode && ISD::UNDEF != opcode)
|
||||
if (ISD::LOAD != opcode && ISD::EXTLOAD != opcode &&
|
||||
ISD::UNDEF != opcode && ISD::CALL != opcode)
|
||||
return SelectExprFP(N, Result);
|
||||
|
||||
switch (opcode) {
|
||||
|
Loading…
Reference in New Issue
Block a user