[all-commits] [llvm/llvm-project] e44298: [LV] Move code from vectorizeMemoryInstruction to ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Dec 1 07:16:03 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e44298a8f8af4f19662aa17fa7a4b3c90ac11376
https://github.com/llvm/llvm-project/commit/e44298a8f8af4f19662aa17fa7a4b3c90ac11376
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-12-01 (Wed, 01 Dec 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Move code from vectorizeMemoryInstruction to recipe's execute().
The code in widenMemoryInstruction has already been transitioned
to only rely on information provided by VPWidenMemoryInstructionRecipe
directly.
Moving the code directly to VPWidenMemoryInstructionRecipe::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/D114324
More information about the All-commits
mailing list