[llvm] [SCEV] Convert more interfaces to use SCEVUse (NFC). (PR #185045)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 14 12:44:59 PDT 2026
================
@@ -9357,7 +9357,7 @@ ScalarEvolution::ExitLimit ScalarEvolution::computeExitLimitFromICmp(
// because if it did, we'd have an infinite (undefined) loop.
// TODO: We can peel off any functions which are invertible *in L*. Loop
// invariant terms are effectively constants for our purposes here.
- auto *InnerLHS = LHS;
+ const SCEV *InnerLHS = LHS;
----------------
boomanaiden154 wrote:
Should this have gone from `auto` (implied `const SCEV *` to `SCEVUse`?
https://github.com/llvm/llvm-project/pull/185045
More information about the llvm-commits
mailing list