Update the isCanonical() implementations to check the VPValue step
operand instead of the step in the induction descriptor.
At the moment this is NFC, but it enables further optimizations if the
step is replaced by a constant in D147783.
Paths
| Differential D147891
[VPlan] Check VPValue step in isCanonical (NFCI). ClosedPublic Authored by fhahn on Apr 9 2023, 12:48 PM.
Details Summary Update the isCanonical() implementations to check the VPValue step At the moment this is NFC, but it enables further optimizations if the
Diff Detail
Event Timelinefhahn added a child revision: D147892: [VPlan] Unify Value2VPValue and VPExternalDefs maps (NFCI)..Apr 9 2023, 12:56 PM
fhahn added inline comments. Comment Actions Looks good to me, thanks! With some minor nits.
This revision is now accepted and ready to land.Apr 15 2023, 1:24 PM This revision was landed with ongoing or failed builds.Apr 16 2023, 6:48 AM Closed by commit rG2db031528e3e: [VPlan] Check VPValue step in isCanonical (NFCI). (authored by fhahn). · Explain Why This revision was automatically updated to reflect the committed changes. fhahn marked 8 inline comments as done.
Revision Contents
Diff 514002 llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
|
Worth also passing in Start?
Documentation should be updated.