[llvm] [VPlan] Make canonical IV part of the region (PR #156262)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 06:20:38 PST 2025
================
@@ -3992,6 +3926,32 @@ class VPIRBasicBlock : public VPBasicBlock {
BasicBlock *getIRBasicBlock() const { return IRBB; }
};
+/// Track information about the canonical IV value of a region.
+class VPCanonicalIVInfo {
+ /// VPRegionValue for the canonical IV. The allocation is managed by
+ /// VPCanonicalIVInfo.
+ std::unique_ptr<VPRegionValue> CanIV;
+ Type *Ty = nullptr;
----------------
ayalz wrote:
Should VPRegionValue hold its Type? Its DL?
https://github.com/llvm/llvm-project/pull/156262
More information about the llvm-commits
mailing list