[PATCH] D90711: [LV] Build generic VPlan up-front.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 3 13:32:03 PST 2020
fhahn created this revision.
fhahn added reviewers: Ayal, gilr, rengolin, dmgreen.
Herald added subscribers: bmahjour, psnobl, rogfer01, bollu, hiraditya.
Herald added a project: LLVM.
fhahn requested review of this revision.
Herald added a subscriber: vkmr.
This is a first step towards generating an initial VPlan up-front using
VPInstructions. No decisions are taken at this point. Starting from this
VPlan, we transform VPInstructions into various recipes if possible,
e.g. by widening them. For now, this still exclusively uses the
underlying instructions and the existing cost model.
Breaking things up further, i.e. lower to specialized recipes without
the legacy cost model, is part of the next steps.
This patch also moves the code to weed out dead instruction into a
transform on the initial VPlan. Similarly, sinking instructions can also
be done up-front, before we widen the VPInstructions. This is also a
follow-up, together with moving more of the existing small patch-ups we
do after generating the VPlans.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90711
Files:
llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90711.302675.patch
Type: text/x-patch
Size: 10918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/1af65835/attachment.bin>
More information about the llvm-commits
mailing list