[llvm] [AMDGPU] Add wait states between different MFMAs sharing an accumulator (PR #218363)

Pankaj Dwivedi via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 02:01:37 PDT 2026


================
@@ -3164,6 +3164,21 @@ int GCNHazardRecognizer::checkMAIHazards908(MachineInstr *MI) const {
   return WaitStatesNeeded;
 }
 
+/// \returns the non-mac, AGPR form of MFMA \p Opc.
+static unsigned getMFMANonMacAGPRFormOp(unsigned Opc) {
----------------
PankajDwivedi-25 wrote:

@shiltian I have updated the patch please let me know if anything else is required?

https://github.com/llvm/llvm-project/pull/218363


More information about the llvm-commits mailing list