[all-commits] [llvm/llvm-project] 43d2e5: Return "[LoopDeletion] Break backedge if we can pr...
max-azul via All-commits
all-commits at lists.llvm.org
Wed May 26 05:27:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 43d2e51c2e86788b9e2a582fdd3d8ffa7829328a
https://github.com/llvm/llvm-project/commit/43d2e51c2e86788b9e2a582fdd3d8ffa7829328a
Author: Max Kazantsev <mkazantsev at azul.com>
Date: 2021-05-26 (Wed, 26 May 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
M llvm/test/Transforms/LoopDeletion/zero-btc.ll
Log Message:
-----------
Return "[LoopDeletion] Break backedge if we can prove that the loop is exited on 1st iteration"
The patch was reverted due to compile time impact of contextual SCEV
queries. It also appeared that it introduced a miscompile on irreducible CFG.
Changes made:
1. isKnownPredicateAt is replaced with more lightweight isKnownPredicate;
2. Irreducible CFG in live code is now detected and excluded from processing.
Differential Revision: https://reviews.llvm.org/D102615
More information about the All-commits
mailing list