Issue 122237
Summary Scheduler causes spilling by reordering wide load before MFMA
Labels backend:AMDGPU
Assignees kerbowa, jrbyrnes
Reporter arsenm
    [scheduler-causes-spill-load-mfma.ll.zip](https://github.com/user-attachments/files/18359164/scheduler-causes-spill-load-mfma.ll.zip)

In this testcase, disabling the scheduler avoids spilling. If the load and mfmas are manually ordered to minimize the live ranges, the load is hoisted which induces spilling. Additionally, if the load and mfma aren't manually reordered, the scheduler doesn't help by sinking the load past the first mfma 
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to