[llvm] r215343 - In LVI(Lazy Value Info), originally value on a BB can only be caculated once,

Jiangning Liu liujiangning1 at gmail.com
Mon Sep 8 20:41:00 PDT 2014


Hi Joerg,

Sorry to know about this... I just came back from mid-autumn holiday...

Can you tell me how you measured the memory consumption for llvm?

Thanks,
-Jiangning

2014-09-05 23:14 GMT+08:00 Joerg Sonnenberger <joerg at britannica.bec.de>:

> On Mon, Aug 11, 2014 at 05:02:04AM -0000, Jiangning Liu wrote:
> > Author: jiangning
> > Date: Mon Aug 11 00:02:04 2014
> > New Revision: 215343
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=215343&view=rev
> > Log:
> > In LVI(Lazy Value Info), originally value on a BB can only be caculated
> once,
> > and the lattice will be updated to be a state other than "undefined".
> This
> > limiation could miss some opportunities of lowering "overdefined" to be
> an
> > even accurate value. So this patch ask the algorithm to try to lower the
> > lattice value again even if the value has been lowered to be
> "overdefined".
>
> This results in a huge increase in memory use. Before, peak RSS for the
> attached test case was 978MB, with this change it is 1880MB. Please fix
> this.
>
> Joerg
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140909/33daef81/attachment.html>


More information about the llvm-commits mailing list