Revert "Return "[LoopDeletion] Break backedge if we can prove that the loop is exited...
authorStefan Pintilie <stefanp@ca.ibm.com>
Fri, 28 May 2021 16:35:25 +0000 (11:35 -0500)
committerStefan Pintilie <stefanp@ca.ibm.com>
Fri, 28 May 2021 17:21:22 +0000 (12:21 -0500)
commit0159652058ca555b05db6a209fe9cf660c3bf8e6
tree3a4942f1cafab14b28e5eb95d36c9d0bc6a46162
parent24bd657202379595b514ee17241f019294e86bc9
Revert "Return "[LoopDeletion] Break backedge if we can prove that the loop is exited on 1st iteration" (try 2)"

This reverts commit be1a23203b1de655b8c7dac7549818d975a0cbbf.
llvm/lib/Transforms/Scalar/LoopDeletion.cpp
llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
llvm/test/Transforms/LoopDeletion/zero-btc.ll