diff options
Diffstat (limited to 'lib/Target/PowerPC/PPCISelPattern.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCISelPattern.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelPattern.cpp b/lib/Target/PowerPC/PPCISelPattern.cpp index 02ad4e4ad4..5496ac4ddb 100644 --- a/lib/Target/PowerPC/PPCISelPattern.cpp +++ b/lib/Target/PowerPC/PPCISelPattern.cpp @@ -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) { |