[llvm] [AMDGPU] IGroupLP: Refactor SchedGroup::initSchedGroup (NFC) (PR #184122)
Frederik Harwath via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 2 06:54:43 PST 2026
================
@@ -2572,43 +2568,17 @@ bool SchedGroup::canAddSU(SUnit &SU) const {
return std::all_of(B, E, [this](MachineInstr &MI) { return canAddMI(MI); });
}
-void SchedGroup::initSchedGroup() {
- for (auto &SU : DAG->SUnits) {
- if (isFull())
----------------
frederik-h wrote:
This is useless because the the SCHED_BARRIERs for which this function is used do not have a MaxSize.
https://github.com/llvm/llvm-project/pull/184122
More information about the llvm-commits
mailing list