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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Aug 11 07:42:30 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/handle-subreg-def-read-mfma-copy-from-agpr
  Home:   https://github.com/llvm/llvm-project
  Commit: ed69c54e96c54e2d94016a6f843e27f6fa9061cd
      https://github.com/llvm/llvm-project/commit/ed69c54e96c54e2d94016a6f843e27f6fa9061cd
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-08-11 (Mon, 11 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