[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp

Nate Begeman natebegeman at mac.com
Sat Apr 9 18:14:24 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC32ISelPattern.cpp updated: 1.58 -> 1.59
---
Log message:

Don't hand ISD::CALL nodes off to SelectExprFP.  This fixes siod.


---
Diffs of the changes:  (+2 -1)

 PPC32ISelPattern.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.58 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.59
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.58	Sat Apr  9 18:35:05 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp	Sat Apr  9 20:14:13 2005
@@ -1388,7 +1388,8 @@
     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) {






More information about the llvm-commits mailing list