[all-commits] [llvm/llvm-project] be4614: AMDGPU: Handle V->A MFMA copy from case with immed...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Aug 27 21:16:16 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/handle-subreg-def-read-mfma-copy-from-agpr
  Home:   https://github.com/llvm/llvm-project
  Commit: be46142733bec5b9fe7bc13c15542088740443be
      https://github.com/llvm/llvm-project/commit/be46142733bec5b9fe7bc13c15542088740443be
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
    M llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-copy-from.mir

  Log Message:
  -----------
  AMDGPU: Handle V->A MFMA copy from case with immediate src2

Handle a special case for copies from AGPR VGPR on the MFMA inputs.
If the "input" is really a subregister def, we will not see the
usual copy to VGPR for src2, only the read of the subregister def.
Not sure if this pattern appears in practice.



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