We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ac2b5c commit f3d9dffCopy full SHA for f3d9dff
mlir/lib/IR/AsmPrinter.cpp
@@ -1110,9 +1110,7 @@ void AliasInitializer::initializeAliases(
1110
llvm::MapVector<const void *, SymbolAlias> &symbolToAlias) {
1111
SmallVector<std::pair<const void *, InProgressAliasInfo>, 0>
1112
unprocessedAliases = visitedSymbols.takeVector();
1113
- llvm::stable_sort(unprocessedAliases, [](const auto &lhs, const auto &rhs) {
1114
- return lhs.second < rhs.second;
1115
- });
+ llvm::stable_sort(unprocessedAliases, llvm::less_second());
1116
1117
// This keeps track of all of the non-numeric names that are in flight,
1118
// allowing us to check for duplicates.
0 commit comments