[PATCH] D66399: [ORCv2] - New Speculate Query Implementation
Praveen velliengiri via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 13:15:09 PDT 2019
pree-jackie marked an inline comment as done.
pree-jackie added inline comments.
================
Comment at: llvm/lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp:266
+
+ llvm::sort(BBFreqs.begin(), BBFreqs.end(),
+ [](decltype(BBFreqs)::const_reference BBF,
----------------
mgrang wrote:
> You can use the range-based version of llvm::sort here:
> ```
> llvm::sort(BBFreqs);
> ```
Thanks for the catch.
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