[PATCH] D95757: [LV] Replace some uses of VectorLoopValueMap with VPTransformState (NFC)
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 31 05:23:46 PST 2021
fhahn created this revision.
fhahn added reviewers: Ayal, gilr, rengolin.
Herald added subscribers: rogfer01, bollu, hiraditya.
fhahn requested review of this revision.
Herald added a subscriber: vkmr.
Herald added a project: LLVM.
This patch updates some places where VectorLoopValueMap is accessed
directly to instead go through VPTransformState.
As we move towards managing created values exclusively in VPTransformState,
this ensures the use always can fetch the correct value.
This is in preparation for D92285 <https://reviews.llvm.org/D92285>, which switches to managing scalarized
values through VPValues.
In the future, the various fix* functions should be moved directly into
the VPlan codegen stage.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95757
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95757.320345.patch
Type: text/x-patch
Size: 14905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210131/79ab7dcd/attachment.bin>
More information about the llvm-commits
mailing list