Displaying 2 results from an estimated 2 matches for "5d0fd5cb".
2011 Oct 07
0
[LLVMdev] inlining of recursive functions
On Oct 4, 2011, at 4:36 PM, Christophe Raffalli wrote:
>
> Hello,
>
> In lib/Analysis/InlineCost.cpp, inlining of recursive functions is
> disabled because it is
> like loop unrolling. But
>
> - I could not find a way to have loop unrolling do the job
> - In the context of functionnal languages (I am implementing one), inlining
> small recursive functions is often
2011 Oct 04
2
[LLVMdev] inlining of recursive functions
Hello,
In lib/Analysis/InlineCost.cpp, inlining of recursive functions is
disabled because it is
like loop unrolling. But
- I could not find a way to have loop unrolling do the job
- In the context of functionnal languages (I am implementing one), inlining
small recursive functions is often a great gain
My question is what is the cleanest and simplest way to inline small
recursive functions ?