diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2022-09-15 05:32:55 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2023-12-01 11:23:57 -0800 |
commit | 279b1ea65f8403aa6d49e7aafa7e40dc906be4bf (patch) | |
tree | 89cc34493896a654419b64f3b7aafe7d00f065dc /llvm/lib/IR/BasicBlock.cpp | |
parent | 7e7aaa53a11009a28228e6f39c48adf64d26d1d6 (diff) | |
download | llvm-279b1ea65f8403aa6d49e7aafa7e40dc906be4bf.zip llvm-279b1ea65f8403aa6d49e7aafa7e40dc906be4bf.tar.gz llvm-279b1ea65f8403aa6d49e7aafa7e40dc906be4bf.tar.bz2 |
[SLP]Improve gathering of the scalars used in the graph.
Currently we emit gathers for scalars being vectorized in the tree as
a pair of extractelement/insertelement instructions. Instead we can try
to find all required vectors and emit shuffle vector instructions
directly, improving the code and reducing compile time.
Part of non-power-of-2 vectorization.
Differential Revision: https://reviews.llvm.org/D110978
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions