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

Joerg Sonnenberger joerg at britannica.bec.de
Fri Sep 5 08:14:06 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cc
Type: text/x-c++src
Size: 27763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140905/3320eede/attachment.cc>


More information about the llvm-commits mailing list