From: Craig Topper Date: Thu, 6 Apr 2017 04:03:34 +0000 (+0000) Subject: Revert accidental commit of r299618 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f399f6df54fcbec8f94757dea79f361da60b4d0d;p=llvm Revert accidental commit of r299618 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299621 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 324d71a4682..86a558f3624 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -775,9 +775,6 @@ bool TargetLowering::SimplifyDemandedBits(SDValue Op, // TODO: Should we check for other forms of sign-bit comparisons? // Examples: X <= -1, X >= 0 } - if (getBooleanContents(Op.getOperand(0).getValueType()) == - BooleanContent::ZeroOrOneBooleanContent && BitWidth > 1) - KnownZero.setBitsFrom(1); break; } case ISD::SHL: