Skip to content

Commit 515564a

Browse files
[AMDGPU] Partially revert my llvm::less_second patch (#136615)
This patch partially reverts: commit 5e1b0f9 Author: Kazu Hirata <kazu@google.com> Date: Fri Apr 18 10:05:55 2025 -0700 to fix: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir LLVM :: CodeGen/AMDGPU/sched-group-barrier-pre-RA.mir under LLVM_ENABLE_EXPENSIVE_CHECKS.
1 parent 3ceb3d9 commit 515564a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ void PipelineSolver::populateReadyList(
589589
}
590590

591591
if (UseCostHeur)
592-
llvm::sort(ReadyList, llvm::less_second());
592+
std::sort(ReadyList.begin(), ReadyList.end(), llvm::less_second());
593593

594594
assert(ReadyList.size() == CurrSU.second.size());
595595
}

0 commit comments

Comments
 (0)