[PATCH] D114321: [LV] Move code from widenGEP to VPWidenGEPRecipe (NFC).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 20 12:41:47 PST 2021
fhahn created this revision.
fhahn added reviewers: Ayal, gilr, rengolin.
Herald added a subscriber: hiraditya.
fhahn requested review of this revision.
Herald added a project: LLVM.
The code in widenGEP has already been transitioned to only rely on
information provided by VPWidenGEPRecipe directly.
Moving the code directly to VPWidenGEPRecipe::execute completes
the transition for the recipe.
It provides the following advantages:
1. Less indirection, easier to see what's going on.
2. Removes accesses to fields of ILV.
2. in particular ensures that no dependencies on
fields in ILV for GEP code generation are re-introduced.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114321
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114321.388722.patch
Type: text/x-patch
Size: 9465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211120/87d4b031/attachment.bin>
More information about the llvm-commits
mailing list