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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 06:56:50 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;
----------------
arsenm wrote:

Shouldn't require target checks, ideally would derive this from the used resources in the sched model 

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


More information about the llvm-commits mailing list