From 49cb65bb7b854aacd82f894b372dedae69eb9bb7 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Thu, 28 Jun 2018 09:29:08 +0000 Subject: [DAGCombiner] Remove unused variable. NFCI. Noticed in D45806 review. llvm-svn: 335817 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/CodeGen') 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; -- cgit v1.2.3