[llvm] AMDGPU: Handle gfx950XDL Write VGPR wait state change (PR #126132)

Vigneshwar Jayakumar via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 03:16:22 PST 2025


================
@@ -2290,12 +2290,14 @@ GFX940_SMFMA_N_PassWritesVGPROverlappedSrcABWaitStates(int NumPasses) {
   return NumPasses + 2;
 }
 
-static int GFX940_XDL_N_PassWritesVGPROverlappedSrcABWaitStates(int NumPasses) {
-  // 2 pass -> 5
-  // 4 pass -> 7
-  // 8 pass -> 11
-  // 16 pass -> 19
-  return NumPasses + 3;
+static int GFX940_XDL_N_PassWritesVGPROverlappedSrcABWaitStates(int NumPasses,
----------------
VigneshwarJ wrote:

Okay, I have made this PR to handle XDL write VALU WAW Wait States. I will create 2 other PRs

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


More information about the llvm-commits mailing list