From 3345eadc370436cabd7c377a9ca1b861b402b01f Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sun, 10 Apr 2005 01:14:13 +0000 Subject: Don't hand ISD::CALL nodes off to SelectExprFP. This fixes siod. llvm-svn: 21197 --- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp b/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp index 02ad4e4ad4b..5496ac4ddbc 100644 --- a/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp +++ b/llvm/lib/Target/PowerPC/PPC32ISelPattern.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) { -- cgit v1.2.3