Skip to content

Commit 086a19f

Browse files
darthscsijackkoenig
authored andcommitted
[NFC] Fix build for OSX in ModuleSummary
1 parent c76eb12 commit 086a19f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Dialect/FIRRTL/Transforms/ModuleSummary.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ void ModuleSummaryPass::runOnOperation() {
121121

122122
SmallVector<MapTy::value_type> sortedData(data.begin(), data.end());
123123
std::sort(sortedData.begin(), sortedData.end(),
124-
[](const std::tuple<KeyTy, SmallVector<FModuleOp>> &lhs,
125-
const std::tuple<KeyTy, SmallVector<FModuleOp>> &rhs) {
124+
[](const MapTy::value_type &lhs, const MapTy::value_type &rhs) {
126125
return std::get<0>(lhs).opcount * std::get<1>(lhs).size() *
127126
std::get<1>(lhs).size() >
128127
std::get<0>(rhs).opcount * std::get<1>(rhs).size() *

0 commit comments

Comments
 (0)