diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-04-06 04:03:34 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-04-06 04:03:34 +0000 |
commit | 6b15606051fbda19d31f43927d6863469f089e47 (patch) | |
tree | 032b679696e183f93c48876e519d6e674a30ec84 /llvm/lib | |
parent | 0491c15de366adbaf74d90e94327edbcf066b4c7 (diff) | |
download | bcm5719-llvm-6b15606051fbda19d31f43927d6863469f089e47.tar.gz bcm5719-llvm-6b15606051fbda19d31f43927d6863469f089e47.zip |
Revert accidental commit of r299618
llvm-svn: 299621
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 324d71a4682..86a558f3624 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/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: |