diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-28 09:29:08 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-28 09:29:08 +0000 |
commit | 49cb65bb7b854aacd82f894b372dedae69eb9bb7 (patch) | |
tree | d0bda111711bb240f915a2d5c6213148e9a292d7 /llvm/lib/CodeGen | |
parent | f5ba37182e8259c4de184177027203f303965c5a (diff) | |
download | bcm5719-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.cpp | 2 |
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; |