[Patch][Review Request][llvm-link] Fix One Performance Bug

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri May 3 14:17:31 PDT 2013


On 3 May 2013 16:08, Manman Ren <mren at apple.com> wrote:
>
> This patch can actually speed up our LTO compilation. It reduces the
> execution time of ModuleLinker::computeTypeMapping, which is used during
> LTO.
> It changed from O(N^2) to O(N) where N is number of modules.

I really like this idea. There is a lot of old cruft in the Linker
interface. I am trying to clean it up and see if I can just put the
set of identified types in there. I should have a patch soon.

Thanks!
Rafael



More information about the llvm-commits mailing list