<div dir="ltr">Can you send me bc files so i can profile?<br><div>We haven't really begun to speed anything up yet :)<br></div><div><br></div><div>We also could, if it really mattered, turn off use optimization, which is usually the slow part of building.</div><div><br></div><div>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 ;)).</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 22, 2016 at 2:27 PM, Geoff Berry <span dir="ltr"><<a href="mailto:gberry@codeaurora.org" target="_blank">gberry@codeaurora.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">gberry added a comment.<br>
<br>
I've collected some compile time stats when enabling MemorySSA EarlyCSE just for the EarlyCSE pass added at the beginning of addFunctionSimplificationPasse<wbr>s at O2 and higher.<br>
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.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D19821" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D19821</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>