diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-11-07 14:10:44 -0800 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2024-11-07 14:23:15 -0800 |
commit | 62db1c8a076c7167e404412182f4a8915f4ff6ee (patch) | |
tree | 888907d9a0000c9a8d5110c8675faab516758ec9 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | bdf8e308b7ea430f619ca3aa1199a76eb6b4e2d4 (diff) | |
download | llvm-62db1c8a076c7167e404412182f4a8915f4ff6ee.zip llvm-62db1c8a076c7167e404412182f4a8915f4ff6ee.tar.gz llvm-62db1c8a076c7167e404412182f4a8915f4ff6ee.tar.bz2 |
[SLP]Better decision making on whether to try stores packs for vectorization
Since the stores are sorted by distance, comparing the indices in the
original array and early exit, if the index is less than the index of
the last store, not always the best strategy. Better to remove such
stores explicitly to try better to check for the vectorization
opportunity.
Fixes #115008
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions