Displaying 1 result from an estimated 1 matches for "d42fb277".
Did you mean:
92fb277
2008 Aug 03
1
[LLVMdev] question about tail call elimination pass ..
Hi,
createTailCallEliminationPass() is able to turn recursive
functions into loops when the functions are written
in tail recursive form. However, I'm unable to get it
to convert mutually recursive functions to run without
a growing stack.
For example (in pseudo code)-
define fact(n,result)
if n < 2
then result
else fact(n-1,result *n)
is converted into a loop correctly. However