Skip to content

Commit

Permalink
[Scalar] Remove an unused local varable (NFC)
Browse files Browse the repository at this point in the history
The last uses of CRs were removed on Jan 17, 2023 in commit
61bb549.
  • Loading branch information
kazutakahirata committed Jan 29, 2023
1 parent 3d25896 commit dc6238e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Expand Up @@ -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());

Expand Down

0 comments on commit dc6238e

Please sign in to comment.