[all-commits] [llvm/llvm-project] 81396e: [AMDGPU] Generate more swaps (#184164)
LU-JOHN via All-commits
all-commits at lists.llvm.org
Tue Mar 3 07:11:34 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81396ebc51c40214465111ede745147989c67e48
https://github.com/llvm/llvm-project/commit/81396ebc51c40214465111ede745147989c67e48
Author: LU-JOHN <John.Lu at amd.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
M llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
M llvm/test/CodeGen/AMDGPU/v_swap_b16.ll
M llvm/test/CodeGen/AMDGPU/v_swap_b32.mir
M llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
Log Message:
-----------
[AMDGPU] Generate more swaps (#184164)
Generate more swaps from:
```
mov T, X
...
mov X, Y
...
mov Y, X
```
by being more careful about what use/defs of X, Y, T are allowed in
intervening code and allowing flexibility where the swap is inserted.
---------
Signed-off-by: John Lu <John.Lu at amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list