summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-08-30 02:54:28 +0000
committerNate Begeman <natebegeman@mac.com>2005-08-30 02:54:28 +0000
commita3da8c4819cbdf8f0edabfc56749f600181baf4a (patch)
tree8ed5164223a61365692f654a9c8418a35c51ec96 /llvm/lib
parent43144a2fe04beaac68c7235d02c03c7862a411d9 (diff)
downloadbcm5719-llvm-a3da8c4819cbdf8f0edabfc56749f600181baf4a.tar.gz
bcm5719-llvm-a3da8c4819cbdf8f0edabfc56749f600181baf4a.zip
Remove a bogus piece of my AssertSext/AssertZext patch. oops.
llvm-svn: 23148
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index c929806ed11..2c1aa7522a3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -632,7 +632,6 @@ SDOperand SelectionDAG::SimplifySetCC(MVT::ValueType VT, SDOperand N1,
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 @@ SDOperand SelectionDAG::SimplifySetCC(MVT::ValueType VT, SDOperand N1,
return getSetCC(VT, getZeroExtendInReg(N1.getOperand(0), ExtSrcTy),
getConstant(C2 & (~0ULL >> 64-ExtSrcTyBits), ExtDstTy),
Cond);
- }
}
uint64_t MinVal, MaxVal;
OpenPOWER on IntegriCloud