[cfe-dev] always_inline and noinline attributes

Matthijs Kooijman matthijs at stdin.nl
Wed Jul 23 23:42:29 PDT 2008


Hi Devang,

> What I'm worried is - if always_inline info is not stripped away the LTO
> inliner will obey always_inline. In this case, it is not appropriate to say
> "LTO may not inline functions, marked as always_inline",  across translation
> unit".
Ah, I see your point now. It's not easy to guarantee that all LLVM IR
producing tools will strip always_inline, because they might not know the next
step is linking, for example.

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/20080724/a3ad1288/attachment.sig>


More information about the cfe-dev mailing list