<div dir="ltr"><div>Did it take an hour to compile the file attached to PR10584 (hugemem.ii)?<br></div><div><br></div>It took about 4 minutes and about 450MB of memory on my machine to compile the file with "clang++ -O2".<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 9:56 AM, Bruno Cardoso Lopes via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Joerg,<br>
<span><br>
> with the current trunk I have two major cases where clang needs more<br>
> than 2GB memory for compiling programs with -O2. One is related to GVN<br>
> and MemoryDependenceAnalysis and has a pending patch. The other is<br>
> related to the Correlated Value Propagation and Lazy Value Information<br>
> cache.<br>
<br>
</span>For the LVI part, how recent are you measurements? I wonder whether<br>
Akira's r255320 helps.<br>
<br>
r255320 => [LazyValueInfo] Stop inserting overdefined values into<br>
ValueCache to reduce memory usage.<br>
<span><font color="#888888"><br>
--<br>
Bruno Cardoso Lopes<br>
<a href="http://www.brunocardoso.cc" rel="noreferrer" target="_blank">http://www.brunocardoso.cc</a><br>
</font></span><div><div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div></div>