Revert "[IndVars] Break backedge and replace PHIs if loop exits on 1st iteration"
authorPhilip Reames <listmail@philipreames.com>
Mon, 13 Sep 2021 17:10:49 +0000 (10:10 -0700)
committerPhilip Reames <listmail@philipreames.com>
Mon, 13 Sep 2021 17:10:49 +0000 (10:10 -0700)
commit5746c76f3fc93cc1a21caf24e35b638218a6eed7
tree046a9837984e65d405d04de69b2a346da8314c6e
parent1a56a291c5ab4681fb34386f1501336545daa8d6
Revert "[IndVars] Break backedge and replace PHIs if loop exits on 1st iteration"

This reverts commit d9ca444835e67960df927d5b8cade57776fdd8cb.  See review for why.
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll