[llvm] [VPlan] Make canonical IV part of the region (PR #156262)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 8 15:29:52 PDT 2025


================
@@ -3981,23 +3933,35 @@ class LLVM_ABI_FOR_TEST VPRegionBlock : public VPBlockBase {
   /// VPRegionBlock.
   VPBlockBase *Exiting;
 
-  /// An indicator whether this region is to generate multiple replicated
-  /// instances of output IR corresponding to its VPBlockBases.
-  bool IsReplicator;
+  /// Canonical IV of the loop region. If CanIV is nullptr, the region is a
----------------
ayalz wrote:

```suggestion
  /// Holds the Canonical IV of the loop region along with additional information. If CanIV is nullptr, the region is a
```

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


More information about the llvm-commits mailing list