[PATCH] D36352: [LCG] Switch one of the update methods for the LazyCallGraph to support limited batch updates.

Sean Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 5 14:17:16 PDT 2017


silvas added a comment.

> When compiling the IR for this file with 'opt' and 'https://reviews.llvm.org/owners/package/3/', this patch reduces the total time by 8-9%.

Just as a point of reference, do you have handy how much of the total compile time are we spending in the PM's CGSCC / LCG  stuff? If we can speed up the overall time by 8-9% by improving it then it suggests that the total time is much larger, which I find somewhat surprising (presumably, we should be spending the vast majority of our time inside of the optimizations themselves).

Is this module you're working on just a really pathological case?

Or is this maybe a situation where the denormalized ref edge representation is causing a bunch of extra work?


https://reviews.llvm.org/D36352





More information about the llvm-commits mailing list