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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Feb 27 05:47:29 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/stop-introducing-accvpr-write-for-reg-copy
  Home:   https://github.com/llvm/llvm-project
  Commit: 12e4b8a7d60c043ff5fd442bdf629288d720d271
      https://github.com/llvm/llvm-project/commit/12e4b8a7d60c043ff5fd442bdf629288d720d271
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-27 (Thu, 27 Feb 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