[all-commits] [llvm/llvm-project] 0da34b: [AMDGPU] Analyze implicit reg operands when genera...

LU-JOHN via All-commits all-commits at lists.llvm.org
Thu Apr 16 02:05:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0da34b813432d9905b57b91bdf793b58edfdd7fa
      https://github.com/llvm/llvm-project/commit/0da34b813432d9905b57b91bdf793b58edfdd7fa
  Author: LU-JOHN <John.Lu at amd.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
    M llvm/test/CodeGen/AMDGPU/v_swap_b32.mir

  Log Message:
  -----------
  [AMDGPU] Analyze implicit reg operands when generating swaps (#192220)

Fix register usage analysis during swap generation by including implicit
register operands. Critical change was to replace MachineInstr uses/defs
with all_uses/all_defs.

---------

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