[PATCH] D74695: [VPlan] Replace VPWidenRecipe with VPInstruction (WIP).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 16 10:01:49 PST 2020
fhahn created this revision.
fhahn added reviewers: rengolin, hsaito, Ayal, gilr.
Herald added subscribers: psnobl, rogfer01, rkruppe, tschuett, bollu, hiraditya.
Herald added a project: LLVM.
This patch replaces VPWidenRecipe with VPInstructions. This is still WIP
and needs to handle a few additional cases, but I wanted to share this
early to make sure the direction makes sense.
With the current version, we get
Expected Passes : 286
Unexpected Failures: 63
I introduced a new VPWidenInstruction, but maybe it would be better to
just use VPInstruction.
If the direction looks right, I'll also continue with other recipes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74695
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/lib/Transforms/Vectorize/VPlanValue.h
llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74695.244891.patch
Type: text/x-patch
Size: 21359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200216/4be6d289/attachment.bin>
More information about the llvm-commits
mailing list