mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 19:31:13 +00:00
Don't hand ISD::CALL nodes off to SelectExprFP. This fixes siod.
llvm-svn: 21197
This commit is contained in:
parent
b3518a838c
commit
ab8e705a52
@ -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