[PATCH] D92284: [VPlan] Manage induction value creation using VPValues.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 29 13:46:19 PST 2020
fhahn created this revision.
fhahn added reviewers: Ayal, rengolin, gilr.
Herald added subscribers: psnobl, rogfer01, bollu, hiraditya.
Herald added a project: LLVM.
fhahn requested review of this revision.
Herald added a subscriber: vkmr.
This patch updates the induction value creation to use VPValues of
recipes to map the created values. This should bring is one step closer
to being able to optimize induction recipes directly in VPlan.
Currently widenIntOrFpInduction also generates vector values for a cast
of the induction, if it exists. Make this explicit by adding the cast
instruction to the values defined by the recipe.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92284
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92284.308227.patch
Type: text/x-patch
Size: 19492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201129/eb924012/attachment.bin>
More information about the llvm-commits
mailing list