[llvm] [VPlan] Add VPRegionBlock::getCanonicalIVType (NFC). (PR #164127)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 31 21:13:42 PDT 2025
================
@@ -69,8 +69,7 @@ class UnrollState {
VPBasicBlock::iterator InsertPtForPhi);
VPValue *getConstantVPV(unsigned Part) {
- Type *CanIVIntTy =
- Plan.getVectorLoopRegion()->getCanonicalIV()->getScalarType();
+ Type *CanIVIntTy = Plan.getVectorLoopRegion()->getCanonicalIVType();
return Plan.getOrAddLiveIn(ConstantInt::get(CanIVIntTy, Part));
----------------
fhahn wrote:
Thanks done in 6e83937f398e5a2fffad8d59a280058d49738325
https://github.com/llvm/llvm-project/pull/164127
More information about the llvm-commits
mailing list