diff options
author | Florian Hahn <flo@fhahn.com> | 2021-11-29 09:09:00 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-11-29 09:09:00 +0000 |
commit | fd71159f6468988d9865a39c243695f823f4b6d7 (patch) | |
tree | 992d9c40ccc21dfeb30f72942443d22b8af292c2 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 1b3cd35ade5daea163ac444324415d68af2513a7 (diff) | |
download | llvm-fd71159f6468988d9865a39c243695f823f4b6d7.zip llvm-fd71159f6468988d9865a39c243695f823f4b6d7.tar.gz llvm-fd71159f6468988d9865a39c243695f823f4b6d7.tar.bz2 |
[LV] Move code from widenInstruction to VPWidenRecipe. (NFC)
The code in widenInstruction has already been transitioned to
only rely on information provided by VPWidenRecipe directly.
Moving the code directly to VPWidenRecipe::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 vector code generation are re-introduced.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D114322
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions