[llvm] [AMDGPU] IGLP: Fix static variables (PR #137549)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 08:47:54 PDT 2026
================
@@ -893,30 +903,27 @@ bool MFMASmallGemmOpt::applyIGLPStrategy(
class MFMAExpInterleaveOpt final : public IGLPStrategy {
private:
- // The count of TRANS SUs involved in the interleaved pipeline
- static unsigned TransPipeCount;
- // The count of MFMA SUs involved in the interleaved pipeline
- static unsigned MFMAPipeCount;
- // The count of Add SUs involved in the interleaved pipeline
- static unsigned AddPipeCount;
- // The number of transitive MFMA successors for each TRANS SU
- static unsigned MFMAEnablement;
- // The number of transitive TRANS predecessors for each MFMA SU
- static unsigned ExpRequirement;
- // The count of independent "chains" of MFMA instructions in the pipeline
- static unsigned MFMAChains;
- // Whether or not the pipeline has V_CVT instructions
- static bool HasCvt;
- // Whether or not there are instructions between the TRANS instruction and
- // V_CVT
- static bool HasChainBetweenCvt;
+ // The heuristics for the pipeline:
----------------
arsenm wrote:
These comments belong with the new struct definition?
https://github.com/llvm/llvm-project/pull/137549
More information about the llvm-commits
mailing list