[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sat Apr 30 07:19:30 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.105 -> 1.106
---
Log message:

I was sure I had thought about this and there was a reason it should work.
But it is entirely possible I am just crazy.



---
Diffs of the changes:  (+8 -7)

 AlphaISelPattern.cpp |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.105 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.106
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.105	Fri Apr 29 23:44:07 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Sat Apr 30 09:19:13 2005
@@ -1199,13 +1199,14 @@
     }
   }
 
-  if (DestType == MVT::f64 || DestType == MVT::f32 ||
-      (
-       (opcode == ISD::LOAD || opcode == ISD::CopyFromReg ||
-        opcode == ISD::EXTLOAD) &&
-       (N.getValue(0).getValueType() == MVT::f32 ||
-        N.getValue(0).getValueType() == MVT::f64)
-       )
+  if ((DestType == MVT::f64 || DestType == MVT::f32 ||
+       (
+        (opcode == ISD::LOAD || opcode == ISD::CopyFromReg ||
+         opcode == ISD::EXTLOAD) &&
+        (N.getValue(0).getValueType() == MVT::f32 ||
+         N.getValue(0).getValueType() == MVT::f64)
+       ))
+       && opcode != ISD::CALL
       )
     return SelectExprFP(N, Result);
 






More information about the llvm-commits mailing list