Add support to the loop canonicalization pass to make it transform loops to
authorChris Lattner <sabre@nondot.org>
Mon, 13 Oct 2003 00:37:13 +0000 (00:37 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Oct 2003 00:37:13 +0000 (00:37 +0000)
commit2ab6a7358e7788eae43b73a79e066322ef0a55d5
treee9041b60579a1412806c873fe2c1083d50b42569
parent5fdd902b55a19a556cfc90855a014d7f8a9eaea2
Add support to the loop canonicalization pass to make it transform loops to
have a SINGLE backedge.  This is useful to, for example, the -indvars pass.

This implements testcase LoopSimplify/single-backedge.ll and closes PR#34

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9065 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopSimplify.cpp