[llvm] [AMDGPU] Reschedule loads in clauses to improve throughput (PR #102595)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 03:19:05 PDT 2026


================
@@ -242,6 +386,7 @@ bool SIPostRABundler::run(MachineFunction &MF) {
           BundleUsedRegUnits.reset();
         }
 
+        reorderLoads(MBB, BundleStart, Next);
----------------
ruiling wrote:

Instead of modifying BundleStart implicitly, would it be better to return the new start and assign to BundleStart after return from the call?

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


More information about the llvm-commits mailing list