From: Nate Begeman Date: Sun, 10 Apr 2005 01:14:13 +0000 (+0000) Subject: Don't hand ISD::CALL nodes off to SelectExprFP. This fixes siod. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0e3e9474f429e6bd0dc902c1fe3236d43ff1276;p=oota-llvm.git 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 --- diff --git a/lib/Target/PowerPC/PPCISelPattern.cpp b/lib/Target/PowerPC/PPCISelPattern.cpp index 02ad4e4ad4b..5496ac4ddbc 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) {