[llvm] [VPlan] Add VPValue for VF, use it for VPWidenIntOrFpInductionRecipe. (PR #95305)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 06:47:05 PDT 2024
================
@@ -1067,6 +1080,7 @@ VPlan *VPlan::duplicate() {
}
Old2NewVPValues[&VectorTripCount] = &NewPlan->VectorTripCount;
Old2NewVPValues[&VFxUF] = &NewPlan->VFxUF;
+ Old2NewVPValues[&VF] = &NewPlan->VF;
----------------
fhahn wrote:
> ut if we've filled out Old2NewVPValues[&VFxUF] with both VFx1 and VFxUF we can just query accordingly, right?
I am not sure what filling them out accordingly means here, perhaps using a pair instead of 2 separate fields?
There are different places that need both VF and VFxUF and to serve them we would need different values I think, but I might be missing something from your suggestion?
https://github.com/llvm/llvm-project/pull/95305
More information about the llvm-commits
mailing list