[llvm-branch-commits] [llvm] [AMDGPU] Make getNumSubRegsForSpillOp externally available (NFC). (PR #174997)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 31 03:43:15 PDT 2026


================
@@ -6267,6 +6267,196 @@ static unsigned VOP3OpIdxToSrcN(const MachineInstr &MI, unsigned OpIdx) {
   return UINT_MAX;
 }
 
+unsigned SIInstrInfo::getNumSubRegsForSpillOp(const MachineInstr &MI) const {
+  const SIInstrInfo *TII = ST.getInstrInfo();
----------------
arsenm wrote:

this is this, don't need to getInstrInfo 

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


More information about the llvm-branch-commits mailing list