[PATCH] D142886: [VPlan] Switch to checking sinking legality for recurrences in VPlan.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 05:20:16 PST 2023
fhahn created this revision.
fhahn added reviewers: Ayal, gilr, rengolin.
Herald added subscribers: StephenFan, tschuett, psnobl, rogfer01, bollu, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added subscribers: pcwang-thead, vkmr.
Herald added a project: LLVM.
Building on D142885 <https://reviews.llvm.org/D142885> and D142589 <https://reviews.llvm.org/D142589>, retire the SinkAfter map from the
recurrence handling code. It is replaced by checking whether it is
possible to sink all users of a recurrence directly in VPlan. This
results in simpler code overall and allows to handle additional cases
(see the improvements in @test_crash).
Depends on D142885 <https://reviews.llvm.org/D142885>.
Depends on D142589 <https://reviews.llvm.org/D142589>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142886
Files:
llvm/include/llvm/Analysis/IVDescriptors.h
llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
llvm/lib/Analysis/IVDescriptors.cpp
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/lib/Transforms/Vectorize/VPlanTransforms.h
llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142886.493284.patch
Type: text/x-patch
Size: 16255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230130/e52f44d1/attachment-0001.bin>
More information about the llvm-commits
mailing list