summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-06-28 09:29:08 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-06-28 09:29:08 +0000
commit49cb65bb7b854aacd82f894b372dedae69eb9bb7 (patch)
treed0bda111711bb240f915a2d5c6213148e9a292d7 /llvm/lib/CodeGen
parentf5ba37182e8259c4de184177027203f303965c5a (diff)
downloadbcm5719-llvm-49cb65bb7b854aacd82f894b372dedae69eb9bb7.tar.gz
bcm5719-llvm-49cb65bb7b854aacd82f894b372dedae69eb9bb7.zip
[DAGCombiner] Remove unused variable. NFCI.
Noticed in D45806 review. llvm-svn: 335817
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 723ab6615cf..1a32744430e 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -3047,8 +3047,6 @@ SDValue DAGCombiner::visitSDIV(SDNode *N) {
// Helper for determining whether a value is a power-2 constant scalar or a
// vector of such elements.
- SmallBitVector KnownNegatives(
- (N1C || !VT.isVector()) ? 1 : VT.getVectorNumElements(), false);
auto IsPowerOfTwo = [](ConstantSDNode *C) {
if (C->isNullValue() || C->isOpaque())
return false;
OpenPOWER on IntegriCloud