[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
================
@@ -137,6 +142,143 @@ bool SIPostRABundler::canBundle(const MachineInstr &MI,
!isDependentLoad(NextMI);
}
+static Register getDef(MachineInstr &MI) {
+ assert(MI.getNumExplicitDefs() > 0);
----------------
ruiling wrote:
Shouldn't we assert `(MI.getNumExplicitDefs()` is exactly `1`? given that we only handle the first def.
https://github.com/llvm/llvm-project/pull/102595
More information about the llvm-commits
mailing list