[PATCH] D19821: [EarlyCSE] Optionally use MemorySSA. NFC.

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 14:39:58 PDT 2016


Can you send me bc files so i can profile?
We haven't really begun to speed anything up yet :)

We also could, if it really mattered, turn off use optimization, which is
usually the slow part of building.

It would require updating defining accesses in the walker (otherwise, it
will slow down every query that asks about a given load. Caching is a
non-starter since you are basically caching something the size of memoryssa
;)).


On Mon, Aug 22, 2016 at 2:27 PM, Geoff Berry <gberry at codeaurora.org> wrote:

> gberry added a comment.
>
> I've collected some compile time stats when enabling MemorySSA EarlyCSE
> just for the EarlyCSE pass added at the beginning of
> addFunctionSimplificationPasses at O2 and higher.
> There were 8 benchmarks in the llvm test-suite whose compile time
> increased by more than 1%.  The biggest increase was in consumer-typeset.
> Drilling down a bit, the MemorySSA construction time for compiling the
> z44.c input to this benchmark is reported as 2% of runtime.
>
>
> https://reviews.llvm.org/D19821
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160822/41706e08/attachment.html>


More information about the llvm-commits mailing list