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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed Jun 29 05:23:45 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.138 -> 1.139
---
Log message:

fix most regressions

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

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


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.138 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.139
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.138	Tue Jun 28 19:39:17 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Wed Jun 29 07:23:34 2005
@@ -1289,7 +1289,8 @@
   }
 
   if ((DestType == MVT::f64 || DestType == MVT::f32)
-      && opcode != ISD::CALL && opcode != ISD::TAILCALL)
+      && opcode != ISD::CALL && opcode != ISD::TAILCALL 
+      && opcode != ISD::CopyFromReg && opcode != ISD::LOAD)
     return SelectExprFP(N, Result);
   
   switch (opcode) {






More information about the llvm-commits mailing list