[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Nate Begeman natebegeman at mac.com
Mon Aug 29 19:54:40 PDT 2005



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAG.cpp updated: 1.175 -> 1.176
---
Log message:

Remove a bogus piece of my AssertSext/AssertZext patch.  oops.


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

 SelectionDAG.cpp |    2 --
 1 files changed, 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.175 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.176
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.175	Mon Aug 29 21:44:00 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Mon Aug 29 21:54:28 2005
@@ -632,7 +632,6 @@
         MVT::ValueType ExtDstTy = N1.getValueType();
         unsigned ExtDstTyBits = MVT::getSizeInBits(ExtDstTy);
 
-        if (Cond == ISD::SETEQ || Cond == ISD::SETNE) {
         // If the extended part has any inconsistent bits, it cannot ever
         // compare equal.  In other words, they have to be all ones or all
         // zeros.
@@ -645,7 +644,6 @@
         return getSetCC(VT, getZeroExtendInReg(N1.getOperand(0), ExtSrcTy),
                         getConstant(C2 & (~0ULL >> 64-ExtSrcTyBits), ExtDstTy),
                         Cond);
-        }
       }
 
       uint64_t MinVal, MaxVal;






More information about the llvm-commits mailing list