[llvm] Co-issue packed instructions by unpacking (PR #151704)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 09:05:54 PDT 2025


================
@@ -6173,6 +6172,64 @@ bool SIInstrInfo::isOperandLegal(const MachineInstr &MI, unsigned OpIdx,
   return isImmOperandLegal(MI, OpIdx, *MO);
 }
 
+bool SIInstrInfo::isNeverCoissue(MachineInstr &MI) const {
+  bool IsGFX950Only = ST.hasGFX950Insts();
+  if (!IsGFX950Only)
+    return false;
----------------
carlobertolli wrote:

I'd like to suggest to limit the scope of this patch to MI300X and MI350 for now and do local testing, with the promise of expanding this as suggested in a forthcoming patch.

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


More information about the llvm-commits mailing list