[PATCH] D68956: [IndVars] Fix a miscompile in off-by-default loop predication implementation
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 15:28:41 PDT 2019
xbolva00 added inline comments.
================
Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:2811
+ // count, and we could be more aggressive when exit counts are known inequal.
+ std::sort(ExitingBlocks.begin(), ExitingBlocks.end(),
+ [&](BasicBlock *A, BasicBlock *B) {
----------------
llvm::sort
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68956/new/
https://reviews.llvm.org/D68956
More information about the llvm-commits
mailing list