aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-08-21 15:23:47 -0400
committerGitHub <noreply@github.com>2024-08-21 15:23:47 -0400
commitb765fdd997be9ff0afb6de87077cd53d5f3d349c (patch)
treee9b661432ce0a56b094cf2d3962e7ad4824a2ddb /lldb/source/Plugins/ScriptInterpreter/Python
parente31252bf54dedadfe78b36d07ea6084156faa38a (diff)
downloadllvm-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