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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Thu Dec 1 09:49:15 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.192 -> 1.193
---
Log message:

major think-o

---
Diffs of the changes:  (+10 -5)

 AlphaISelPattern.cpp |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.192 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.193
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.192	Wed Nov 30 11:14:11 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Thu Dec  1 11:48:51 2005
@@ -1538,23 +1538,28 @@
     return Result;
 
   case AlphaISD::CVTQT_:
-    BuildMI(BB, Alpha::CVTQT, 1, Result).addReg(SelectExpr(N.getOperand(0)));
+    Tmp1 = SelectExpr(N.getOperand(0));
+    BuildMI(BB, Alpha::CVTQT, 1, Result).addReg(Tmp1);
     return Result;
 
   case AlphaISD::CVTQS_:
-    BuildMI(BB, Alpha::CVTQS, 1, Result).addReg(SelectExpr(N.getOperand(0)));
+    Tmp1 = SelectExpr(N.getOperand(0));
+    BuildMI(BB, Alpha::CVTQS, 1, Result).addReg(Tmp1);
     return Result;
 
   case AlphaISD::CVTTQ_:
-    BuildMI(BB, Alpha::CVTTQ, 1, Result).addReg(SelectExpr(N.getOperand(0)));
+    Tmp1 = SelectExpr(N.getOperand(0));
+    BuildMI(BB, Alpha::CVTTQ, 1, Result).addReg(Tmp1);
     return Result;
 
   case AlphaISD::ITOFT_:
-    BuildMI(BB, Alpha::ITOFT, 1, Result).addReg(SelectExpr(N.getOperand(0)));
+    Tmp1 = SelectExpr(N.getOperand(0));
+    BuildMI(BB, Alpha::ITOFT, 1, Result).addReg(Tmp1);
     return Result;
 
   case AlphaISD::FTOIT_:
-    BuildMI(BB, Alpha::FTOIT, 1, Result).addReg(SelectExpr(N.getOperand(0)));
+    Tmp1 = SelectExpr(N.getOperand(0));
+    BuildMI(BB, Alpha::FTOIT, 1, Result).addReg(Tmp1);
     return Result;
 
   case ISD::AssertSext:






More information about the llvm-commits mailing list