================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to