[cfe-dev] Explicit instantiation declarations/definitions and optimizations

David Blaikie via cfe-dev cfe-dev at lists.llvm.org
Sat Sep 19 18:15:52 PDT 2015

I was just thinking through the possible advice of encouraging users to use
explicit template instantiation declarations/definitions to reduce object

It seems this may hurt performance in non-LTO builds by causing what were
inlinable functions to no longer be available for inlining.

Should we consider emitting available_externally definitions of such
entities (possibly under specific/higher optimization levels)?

- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150919/2e41ba5f/attachment.html>

More information about the cfe-dev mailing list