aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2025-03-29 15:18:44 -0700
committerGitHub <noreply@github.com>2025-03-29 15:18:44 -0700
commit31c37a4a5ebc0d13d86a91c300e15177e9d77ddf (patch)
tree908ecc6a3363ec39815fd93e8f1c36da208288d0 /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
parentabf9c1a18d2875b6a8f98eba3761b8389818e1bf (diff)
downloadllvm-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