[llvm] [VPlan] Add Type* and getType() to VPSymbolicValue (NFC) (PR #195183)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 02:00:37 PDT 2026


================
@@ -862,7 +862,8 @@ VPInstruction *VPRegionBlock::getOrCreateCanonicalIVIncrement() {
                            CanIV->getDebugLoc(), "index.next");
 }
 
-VPlan::VPlan(Loop *L) {
+VPlan::VPlan(Loop *L, Type *IdxTy)
+    : VectorTripCount(IdxTy), VF(IdxTy), UF(IdxTy), VFxUF(IdxTy) {
----------------
fhahn wrote:

This is interesting, although I am currently not yet sure how we could best go about that

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


More information about the llvm-commits mailing list