diff options
| author | Alexey Bataev <a.bataev@outlook.com> | 2024-08-21 15:23:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-21 15:23:47 -0400 |
| commit | b765fdd997be9ff0afb6de87077cd53d5f3d349c (patch) | |
| tree | e9b661432ce0a56b094cf2d3962e7ad4824a2ddb /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | e31252bf54dedadfe78b36d07ea6084156faa38a (diff) | |
| download | llvm-b765fdd997be9ff0afb6de87077cd53d5f3d349c.zip llvm-b765fdd997be9ff0afb6de87077cd53d5f3d349c.tar.gz llvm-b765fdd997be9ff0afb6de87077cd53d5f3d349c.tar.bz2 | |
[SLP]Try to keep scalars, used in phi nodes, if phi nodes from same block are vectorized.
Before doing the vectorization of the PHI nodes, the compiler sorts them
by the opcodes of the operands. If the scalar is replaced during the
vectorization by extractelement, it breaks this sorting and prevent some
further vectorization attempts. Patch tries to improve this by doing
extra analysis of the scalars and tries to keep them, if it is found that
this scalar is used in other (external) PHI node in the same block.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/103923
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
