Implement: test/Regression/Transforms/TailCallElim/accum_recursion.ll
authorChris Lattner <sabre@nondot.org>
Mon, 8 Dec 2003 23:19:26 +0000 (23:19 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 8 Dec 2003 23:19:26 +0000 (23:19 +0000)
commit543d622ef7505910c1cdc09ada0ab797c3437590
tree86612bda67757011fe6c7dc3c6ea438746756bb3
parent62d0f7330089e0b370ac25e37408c27270f252a1
Implement: test/Regression/Transforms/TailCallElim/accum_recursion.ll

We now insert accumulator variables as necessary to eliminate tail recursion
more aggressively.  This is still fairly limited, but allows us to transform
fib/factorial, and other functions into nice happy loops.  :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10332 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/TailRecursionElimination.cpp