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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed Nov 30 09:14:23 PST 2005



Changes in directory llvm/lib/Target/Alpha:

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

remove redundant code

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

 AlphaISelPattern.cpp |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.191 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.192
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.191	Wed Nov 30 11:11:20 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Wed Nov 30 11:14:11 2005
@@ -365,21 +365,9 @@
 
   //Can only compare doubles, and dag won't promote for me
   if (SetCC->getOperand(0).getValueType() == MVT::f32)
-    {
-      //assert(0 && "Setcc On float?\n");
-      std::cerr << "Setcc on float!\n";
-      Tmp3 = MakeReg(MVT::f64);
-      BuildMI(BB, Alpha::CVTST, 1, Tmp3).addReg(Tmp1);
-      Tmp1 = Tmp3;
-    }
+      assert(0 && "Setcc On float?\n");
   if (SetCC->getOperand(1).getValueType() == MVT::f32)
-    {
-      //assert (0 && "Setcc On float?\n");
-      std::cerr << "Setcc on float!\n";
-      Tmp3 = MakeReg(MVT::f64);
-      BuildMI(BB, Alpha::CVTST, 1, Tmp3).addReg(Tmp2);
-      Tmp2 = Tmp3;
-    }
+    assert (0 && "Setcc On float?\n");
 
   if (rev) std::swap(Tmp1, Tmp2);
   //do the comparison






More information about the llvm-commits mailing list