[cfe-dev] Why optimize AvailableExternallyLinkage functions when codegenning?

Yaron Keren via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 1 07:54:14 PDT 2015


On 1 September 2015 at 15:42, Rafael EspĂ­ndola <rafael.espindola at gmail.com>
wrote:

> We have a pass that drops them. Maybe it could be ran earlier.


As a ModulePass it can run just after the Call Graph SCC Pass Manager, so
some extra work would still be done inside the SCC Pass Manager for
available externally functions.
Maybe we can do better in doing something while inside the Call Graph SCC
Pass Manager but this is simple change and saves many ModulePasses between
the SCC and last DCE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150901/a9833cd5/attachment.html>


More information about the cfe-dev mailing list