[llvm] [AMDGPU] Add scheduling stage to rewrite MFMA from VGPR to AGPR (PR #170335)

Tony Linthicum via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 10:42:48 PST 2025


================
@@ -1216,6 +1223,107 @@ bool GCNSchedStage::initGCNSchedStage() {
   return true;
 }
 
+void RewriteScheduleStage::findReachingDefs(
+    MachineOperand &UseMO, LiveIntervals *LIS,
+    SmallVectorImpl<SlotIndex> &DefIdxs) {
+  assert(UseMO.isReg());
----------------
tlinthic wrote:

Done.

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


More information about the llvm-commits mailing list