[all-commits] [llvm/llvm-project] 3bd59f: AMDGPU: Handle V->A MFMA copy from case with immed...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Aug 11 18:30:33 PDT 2025
Branch: refs/heads/users/arsenm/amdgpu/handle-subreg-def-read-mfma-copy-from-agpr
Home: https://github.com/llvm/llvm-project
Commit: 3bd59fe7ed8fcc5e7410415a1c5d6633016e6152
https://github.com/llvm/llvm-project/commit/3bd59fe7ed8fcc5e7410415a1c5d6633016e6152
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-08-12 (Tue, 12 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