optimizeInductions may leave dead recipes which can prevent sinking.
Sinking on the other hand should not introduce new dead recipes, so
clean up dead recipes before sinking.
Depends on D133760.
Paths
| Differential D133762
[VPlan] Remove dead recipes before sinking. ClosedPublic Authored by fhahn on Sep 13 2022, 1:27 AM.
Details
Summary optimizeInductions may leave dead recipes which can prevent sinking. Depends on D133760.
Diff Detail
Event Timelinefhahn added a child revision: D134218: [VPlan] Sink non-uniform recieps for scalar plans..Sep 19 2022, 1:04 PM Comment Actions LGTM! Adding a minor nit.
This revision is now accepted and ready to land.Sep 20 2022, 12:24 AM Comment Actions Rebase so this can be applied directly on current main. I am planning to land this soon. fhahn added inline comments.
This revision was landed with ongoing or failed builds.Oct 12 2022, 4:50 AM Closed by commit rGc1fe52bfa61b: [VPlan] Remove dead recipes before sinking. (authored by fhahn). · Explain Why This revision was automatically updated to reflect the committed changes. fhahn marked an inline comment as done.
Revision Contents
Diff 467092 llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/pointer-induction.ll
llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
|
Is this GEP replicated sinking intentional/helpful/harmful?