[Scalar] Remove an unused local varable (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 29 Jan 2023 18:03:15 +0000 (10:03 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 29 Jan 2023 18:03:15 +0000 (10:03 -0800)
The last uses of CRs were removed on Jan 17, 2023 in commit
61bb549cfd43fe4753fc78075b626ae18106fbeb.

llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp

index 90b4b52..856a8fd 100644 (file)
@@ -717,7 +717,6 @@ static bool narrowSDivOrSRem(BinaryOperator *Instr, const ConstantRange &LCR,
 
   // What is the smallest bit width that can accommodate the entire value ranges
   // of both of the operands?
-  std::array<std::optional<ConstantRange>, 2> CRs;
   unsigned MinSignedBits =
       std::max(LCR.getMinSignedBits(), RCR.getMinSignedBits());