[all-commits] [llvm/llvm-project] f3d76d: AMDGPU: Stop introducing v_accvgpr_write_b32 for r...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 3 01:19:36 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/stop-introducing-accvpr-write-for-reg-copy
  Home:   https://github.com/llvm/llvm-project
  Commit: f3d76df9304c23154852dfe51b348715e4cf48bd
      https://github.com/llvm/llvm-project/commit/f3d76df9304c23154852dfe51b348715e4cf48bd
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/test/CodeGen/AMDGPU/si-fold-operands-agpr-copy-reg-sequence.mir

  Log Message:
  -----------
  AMDGPU: Stop introducing v_accvgpr_write_b32 for reg-to-reg copy

This was trying to hack around the intermediate VGPR requirement
to copy to AGPRs on gfx908. We should still use a copy for all
reg-to-reg cases. This should matter less these days, as we
reserve a VGPR to handle it when required (and no end to end tests
need updating).

This was also an obstacle to handling this fold for input registers
which are larger than 32-bits.



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