[llvm] AMDGPU: Fix entry for mac in VGPR->AGPR MFMA table (PR #119693)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 03:50:52 PST 2024


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/119693

None

>From 55d76daac4bf33c92b8cd45a5b7162715ac7cd17 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon, 9 Dec 2024 13:04:11 -0600
Subject: [PATCH] AMDGPU: Fix entry for mac in VGPR->AGPR MFMA table

---
 llvm/lib/Target/AMDGPU/VOP3PInstructions.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
index 7638879afcb56c..689f3b38a1723e 100644
--- a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+++ b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
@@ -890,7 +890,7 @@ multiclass MAIInst<string OpName, string P, SDPatternOperator node = null_frag,
         let OtherPredicates = [isGFX90APlus] in
         def _mac_vgprcd_e64 : MAIInst<OpName # "_mac_vgprcd", !cast<VOPProfileMAI>("VOPProfileMAI_" # P # "_VCD"),
                                       !if(!eq(node, null_frag), null_frag, VgprMAIFrag<node, HasAbid, Scaled>), Scaled>,
-                              MFMATable<1, "VGPR", NAME # "_vgprcd_e64">;
+                              MFMATable<1, "VGPR", NAME # "_vgprcd_e64", NAME # "_mac_e64">;
       }
     }
   } // End isConvergent = 1, mayRaiseFPException = 0, ReadsModeReg = 1



More information about the llvm-commits mailing list