From a0e3e9474f429e6bd0dc902c1fe3236d43ff1276 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sun, 10 Apr 2005 01:14:13 +0000 Subject: [PATCH] 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 --- lib/Target/PowerPC/PPCISelPattern.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {