diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2023-01-10 13:49:05 -0800 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2023-01-19 13:46:25 -0800 |
commit | 9bdcf8778a5c6f57e6d05308e9dde655bba97698 (patch) | |
tree | 7422d3fd1887b631431798dadff79cc9b45ccdf6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9fecd58e5e2ead68f09677db912a29585810eb81 (diff) | |
download | llvm-9bdcf8778a5c6f57e6d05308e9dde655bba97698.zip llvm-9bdcf8778a5c6f57e6d05308e9dde655bba97698.tar.gz llvm-9bdcf8778a5c6f57e6d05308e9dde655bba97698.tar.bz2 |
[SLP]Improve isGatherShuffledEntry by looking deeper through the reused scalars.
The compiler may produce better results if it does not look for
constants, uses an extra analysis of phi nodes, looks through all tree
nodes without skipping the cases, where the very first set of nodes is
empty. Also, it tries to reshufle the nodes if it is profitable for
sure, i.e. at least 2 scalars are used for single node permutation and at
least 3 scalars are used for the permutation of 2 nodes.
Part of D110978
Differential Revision: https://reviews.llvm.org/D141512
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions