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

Austin Kerbow via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 07:47:20 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;
----------------
kerbowa wrote:

NIT: Could this be a flag, like `IsPostRA` instead to make it more clear since it looks like it will always be true?

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


More information about the llvm-commits mailing list