diff options
author | Philip Reames <preames@rivosinc.com> | 2025-03-29 15:18:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-29 15:18:44 -0700 |
commit | 31c37a4a5ebc0d13d86a91c300e15177e9d77ddf (patch) | |
tree | 908ecc6a3363ec39815fd93e8f1c36da208288d0 /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | |
parent | abf9c1a18d2875b6a8f98eba3761b8389818e1bf (diff) | |
download | llvm-31c37a4a5ebc0d13d86a91c300e15177e9d77ddf.zip llvm-31c37a4a5ebc0d13d86a91c300e15177e9d77ddf.tar.gz llvm-31c37a4a5ebc0d13d86a91c300e15177e9d77ddf.tar.bz2 |
[RISCV][TTI] Adjust VLS shuffle costing to account for sub-mask reuse (#129793)
If we have a shuffle which can be split via VLA where two or more of the
destinations have exactly the same elements, then we only need to
account for them once in costing. The duplicate copies are are (at
worst) whole register moves.
Note that this change only handles the single source case. Doing the
multiple source case seemed a bit more complicated, and I didn't have a
motivating test case.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions