[llvm-dev] High memory use and LVI/Correlated Value Propagation
    Joerg Sonnenberger via llvm-dev 
    llvm-dev at lists.llvm.org
       
    Thu Jan 14 11:02:19 PST 2016
    
    
  
On Thu, Jan 14, 2016 at 09:56:38AM -0800, Bruno Cardoso Lopes 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.
I've rebuilt all my test cases since the weekend. It's been getting
better and I have now down to Groonga, G'MIC, FET and Scribus as
triggering, which is much better.
Joerg
    
    
More information about the llvm-dev
mailing list