[PATCH] D66399: [ORCv2] - New Speculate Query Implementation
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 18 23:18:33 PDT 2019
mgrang added inline comments.
================
Comment at: llvm/lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp:266
+
+ llvm::sort(BBFreqs.begin(), BBFreqs.end(),
+ [](decltype(BBFreqs)::const_reference BBF,
----------------
You can use the range-based version of llvm::sort here:
```
llvm::sort(BBFreqs);
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66399/new/
https://reviews.llvm.org/D66399
More information about the llvm-commits
mailing list