[llvm] [IVDesc] Use SCEVPatternMatch to improve code (NFC) (PR #168397)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 01:54:57 PST 2025


================
@@ -401,7 +401,7 @@ class InductionDescriptor {
   InductionKind getKind() const { return IK; }
   const SCEV *getStep() const { return Step; }
   BinaryOperator *getInductionBinOp() const { return InductionBinOp; }
-  LLVM_ABI ConstantInt *getConstIntStepValue() const;
----------------
fhahn wrote:

could keep the original name, as it still returns a constant (AP)int?

https://github.com/llvm/llvm-project/pull/168397


More information about the llvm-commits mailing list