summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-06 04:03:34 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-06 04:03:34 +0000
commit6b15606051fbda19d31f43927d6863469f089e47 (patch)
tree032b679696e183f93c48876e519d6e674a30ec84 /llvm/lib
parent0491c15de366adbaf74d90e94327edbcf066b4c7 (diff)
downloadbcm5719-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.cpp3
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:
OpenPOWER on IntegriCloud