[all-commits] [llvm/llvm-project] 349509: [LV] Move code from widenGEP to VPWidenGEPRecipe (...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Nov 28 10:29:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3495090b9bfdb1daf9c64585b4c02284dc99a180
https://github.com/llvm/llvm-project/commit/3495090b9bfdb1daf9c64585b4c02284dc99a180
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-11-28 (Sun, 28 Nov 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Move code from widenGEP to VPWidenGEPRecipe (NFC).
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.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D114321
More information about the All-commits
mailing list