[llvm] [AMDGPU] Add iglp_opt(3) for simple mfma / exp interleaving (PR #117269)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 16:14:53 PST 2024


================
@@ -1845,6 +1846,50 @@ bool MFMAExpInterleaveOpt::applyIGLPStrategy(
   return true;
 }
 
+class MFMAExpSimpleInterleaveOpt final : public IGLPStrategy {
+private:
+public:
+  bool applyIGLPStrategy(
+      DenseMap<int, SUnitsToCandidateSGsMap> &SyncedInstrs,
+      DenseMap<int, SmallVector<SchedGroup, 4>> &SyncedSchedGroups,
----------------
arsenm wrote:

What are these map keys? This could just be an array?

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


More information about the llvm-commits mailing list