[llvm] [AMDGPU] IGLP: Fix static variables (PR #137549)
Robert Imschweiler via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 09:28:04 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:
----------------
ro-i wrote:
(I deliberately put them here because that's the location where you would want to read them)
https://github.com/llvm/llvm-project/pull/137549
More information about the llvm-commits
mailing list