[llvm] [VPlan] Make canonical IV part of the region (PR #156262)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 21 13:25:43 PDT 2025
================
@@ -3963,6 +3897,24 @@ class VPIRBasicBlock : public VPBasicBlock {
BasicBlock *getIRBasicBlock() const { return IRBB; }
};
+/// Track information about the canonical IV value of a region.
+struct VPCanonicalIVInfo {
+ VPRegionValue *CanIV = nullptr;
+ Type *Ty = nullptr;
+ bool HasNUW = true;
+ DebugLoc DL = DebugLoc::getUnknown();
+
+ VPCanonicalIVInfo(VPRegionValue *CanIV, Type *Ty, bool HasNUW, DebugLoc DL)
+ : CanIV(CanIV), Ty(Ty), HasNUW(HasNUW), DL(DL) {}
----------------
fhahn wrote:
Done, thanks
https://github.com/llvm/llvm-project/pull/156262
More information about the llvm-commits
mailing list