[llvm-dev] High memory use and LVI/Correlated Value Propagation

Akira Hatanaka via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 14 10:35:09 PST 2016


Did it take an hour to compile the file attached to PR10584 (hugemem.ii)?

It took about 4 minutes and about 450MB of memory on my machine to compile
the file with "clang++ -O2".

On Thu, Jan 14, 2016 at 9:56 AM, Bruno Cardoso Lopes via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi Joerg,
>
> > with the current trunk I have two major cases where clang needs more
> > than 2GB memory for compiling programs with -O2. One is related to GVN
> > and MemoryDependenceAnalysis and has a pending patch. The other is
> > related to the Correlated Value Propagation and Lazy Value Information
> > cache.
>
> For the LVI part, how recent are you measurements? I wonder whether
> Akira's r255320 helps.
>
> r255320 => [LazyValueInfo] Stop inserting overdefined values into
> ValueCache to reduce memory usage.
>
> --
> Bruno Cardoso Lopes
> http://www.brunocardoso.cc
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160114/14e42658/attachment.html>


More information about the llvm-dev mailing list