Details
Details
- Reviewers
rafauler maksfb - Group Reviewers
Restricted Project - Commits
- rG72e5b14fe76b: [BOLT][NFC] Use llvm::make_second_range
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
bolt/lib/Core/BinaryContext.cpp | ||
---|---|---|
1521–1523 | Shouldn't this be llvm::copy(llvm::make_second_range(BinaryFunctions), std::back_inserter(AllFunctions)); like you did in IndirectCallPromotion.cpp? Similarly for other changes. |
bolt/lib/Core/BinaryContext.cpp | ||
---|---|---|
1521–1523 | It can't be a copy. We take a pointer here (&BF), hence transform is needed (that applies a lambda to each element before storing the result). |
Shouldn't this be
like you did in IndirectCallPromotion.cpp? Similarly for other changes.