[LLVMdev] inlining of recursive functions

Christophe Raffalli christophe.raffalli at univ-savoie.fr
Mon Oct 10 01:54:37 PDT 2011

> Now, if code bloat isn't an issue we could turn it on - maybe at O3 or something.

An option like -inline-rec (on by default at O3 if the option for limiting code size are not set ?)
might be good.

Then, one might want to unroll a recursive definition more than once (for very small functions).
And I am not sure this is done if we just authorize inlining in the current code ...


> -eric

Christophe Raffalli
Universite de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex

tel: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli at univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature. The public key is
stored on www.keyserver.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111010/5d0fd5cb/attachment.sig>

More information about the llvm-dev mailing list