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

Austin Kerbow via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Oct 19 23:40:57 PDT 2026


================
@@ -11831,3 +11831,17 @@ bool SIInstrInfo::isXDL(const MachineInstr &MI) const {
 
   return AMDGPU::getMAIIsGFX940XDL(Opcode);
 }
+
+bool SIInstrInfo::isVAVDSTOrderedXDL(const MachineInstr &MI) const {
+  constexpr unsigned MinOrderedXDLVAVDSTVGPRs = 8;
+  if (!AMDGPU::isGFX1250(ST) || !isXDL(MI))
+    return false;
+
+  int DstIdx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::vdst);
+  if (DstIdx < 0)
+    return false;
----------------
kerbowa wrote:

Done

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


More information about the llvm-branch-commits mailing list