diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2022-08-15 07:22:21 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2022-08-16 07:25:21 -0700 |
commit | 65c7cecb13f8d2132a54103903501474083afe8f (patch) | |
tree | efd38e24827e5a5cd95060a3343743021542d6be /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | b812db146477f8f7d16be7feb450d3225038e125 (diff) | |
download | llvm-65c7cecb13f8d2132a54103903501474083afe8f.zip llvm-65c7cecb13f8d2132a54103903501474083afe8f.tar.gz llvm-65c7cecb13f8d2132a54103903501474083afe8f.tar.bz2 |
[SLP]Fix PR51320: Try to vectorize single store operands.
Currently, we try to vectorize values, feeding into stores, only if
slp-vectorize-hor-store option is provided. We can safely enable
vectorization of the value operand of a single store in the basic block,
if the operand value is used only in store.
It should enable extra vectorization and should not increase compile
time significantly.
Fixes https://github.com/llvm/llvm-project/issues/51320
Differential Revision: https://reviews.llvm.org/D131894
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions