[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:42 PST 2026


================
@@ -2654,14 +2624,15 @@ void IGroupLPDAGMutation::apply(ScheduleDAGInstrs *DAGInstrs) {
 void IGroupLPDAGMutation::addSchedBarrierEdges(SUnit &SchedBarrier) {
   MachineInstr &MI = *SchedBarrier.getInstr();
   assert(MI.getOpcode() == AMDGPU::SCHED_BARRIER);
-  // Remove all existing edges from the SCHED_BARRIER that were added due to the
----------------
frederik-h wrote:

There used to be a call to a, I think, `resetEdges` function which does not exist anymore. Now the comment is clearly wrong here.

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


More information about the llvm-commits mailing list