[llvm] [llvm] Use llvm::sort (NFC) (PR #96434)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 23 10:38:40 PDT 2024
================
@@ -612,10 +612,9 @@ void PipelineSolver::populateReadyList(
}
if (UseCostHeur) {
- std::sort(ReadyList.begin(), ReadyList.end(),
- [](std::pair<int, int> A, std::pair<int, int> B) {
- return A.second < B.second;
- });
+ llvm::sort(ReadyList, [](std::pair<int, int> A, std::pair<int, int> B) {
----------------
kazutakahirata wrote:
Fixed in the latest iteration. Thanks!
https://github.com/llvm/llvm-project/pull/96434
More information about the llvm-commits
mailing list