[llvm] [AMDGPU] Model ordered XDL writes in expert scheduling (PR #218326)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 13:48:53 PDT 2026


================
@@ -751,6 +767,9 @@ class WaitcntBrackets {
   struct VMEMInfo {
     // Scores for all instruction counters. Zero-initialized.
     CounterValueArray Scores{};
+    // Later ordered XDL writes that must remain outstanding while this
+    // VA_VDST write is pending.
+    unsigned NumOrderedXDLsAfterWrite = 0;
----------------
vporpo wrote:

Not sure we should add a new field to this struct. How about using a separate map from VMEMID to NumOrderedXDLSAfterWrite ?

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


More information about the llvm-commits mailing list