[llvm] r299621 - Revert accidental commit of r299618
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 5 21:03:34 PDT 2017
Author: ctopper
Date: Wed Apr 5 23:03:34 2017
New Revision: 299621
URL: http://llvm.org/viewvc/llvm-project?rev=299621&view=rev
Log:
Revert accidental commit of r299618
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=299621&r1=299620&r2=299621&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Wed Apr 5 23:03:34 2017
@@ -775,9 +775,6 @@ bool TargetLowering::SimplifyDemandedBit
// 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:
More information about the llvm-commits
mailing list