[llvm] [VPlan] Add transform to replace VPWidenCanonicalIV with wide IV. (PR #194267)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 03:11:57 PDT 2026


================
@@ -380,6 +380,10 @@ class InductionDescriptor {
   /// Default constructor - creates an invalid induction.
   InductionDescriptor() = default;
 
+  LLVM_ABI InductionDescriptor(Value *Start, InductionKind K, const SCEV *Step,
+                               BinaryOperator *InductionBinOp = nullptr,
+                               SmallVectorImpl<Instruction *> *Casts = nullptr);
----------------
fhahn wrote:

Yeah, added a static helper to construct one, thanks

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


More information about the llvm-commits mailing list