[PATCH] Improve performance of lazy linking in llvm-link

Renato Golin renato.golin at linaro.org
Tue Mar 26 14:24:21 PDT 2013


Hi James,

I'm not an expert in the Linker, but this patch looks good.

If I understood correctly, the current code is not entirely lazy, but adds
the prototype and removes back again if no changes. And the speed up is
that you check for the current use versus the original use and only create
the prototype in case it did. I can see you're not erasing from the parent
(because it was never added in the first place, I assume), so that's
another speed up.

However, I don't see where it would create the original prototype (on
removed code), which makes me question my assumptions of your change.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130326/fc5c398f/attachment.html>


More information about the llvm-commits mailing list