This patch extends LVP to support planning with multiple cost-models.
This may help to simplify D142015.
Paths
| Differential D142669
[VPlan] Allow planning with different cost models. Needs ReviewPublic Authored by fhahn on Jan 26 2023, 2:12 PM.
Details
Diff Detail
Event Timelinefhahn mentioned this in D142674: [LV] Move collect* calls to LVP::plan() (NFC)..Jan 26 2023, 3:07 PM fhahn added a parent revision: D142674: [LV] Move collect* calls to LVP::plan() (NFC)..Jan 26 2023, 3:07 PM fhahn added a child revision: D142670: [LV] Allow forcing tail folding when constructing the cost model (WIP).. Comment Actions Rebased and fixed almost all test failures. What's left is removing the remaining places where the cost-model is still used after VPlan construction. fhahn added a parent revision: D143938: [VPlan] Compute costs for plans directly after construction..Apr 4 2023, 9:11 AM fhahn added a parent revision: D147471: [VPlan] Don't add live-outs if scalar epilogue is required..Apr 4 2023, 9:13 AM fhahn retitled this revision from [VPlan] Allow planning with different cost models (WIP). to [VPlan] Allow planning with different cost models.. Comment ActionsThis should also be in good shape now to take an initial look. There are still 2 TODOs left to resolve, but all tests expect one should pass now.
Revision Contents
Diff 514015 llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
|