diff options
-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; |