[cfe-dev] always_inline and noinline attributes
Matthijs Kooijman
matthijs at stdin.nl
Tue Aug 5 01:02:10 PDT 2008
Hi Devang,
> 1) always_inline only affects the "front-end inliner" and gets stripped out
> by that inliner. This means it would not survive to LTO (if run). This
> would be extremely compatible with GCC.
>
> 2) always_inline persists in the IR and any inliner pass would inline any
> direct calls to always_inline functions whenever possible.
>
> I don't have a strong opinion on which approach is taken,
I think both of us agree on going for option 2)? You once said you would write
a proposal on how to implement this? Does that offer still stand? I'm afraid I
won't be able to invest too much time in this, currently.
Gr.
Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080805/a72593a7/attachment.sig>
More information about the cfe-dev
mailing list