[llvm] [AMDGPU][IGLP] SingleWaveOpt: Cache DSW Counters from PreRA (PR #67759)

Jeffrey Byrnes via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 09:11:29 PDT 2023


================
@@ -900,6 +900,11 @@ void MFMASmallGemmOpt::applyIGLPStrategy(
   }
 }
 
+static unsigned DSWCount = 0;
+static unsigned DSWWithPermCount = 0;
+static unsigned DSWWithSharedVMEMCount = 0;
+static bool HasDSWCounts = false;
----------------
jrbyrnes wrote:

Thanks for taking a look.

Is this what you had in mind? I've added as a separate commit to (hopefully) making reviewing easier -- they will be squashed before landing.

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


More information about the llvm-commits mailing list