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

Bruno Cardoso Lopes via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 14 09:56:38 PST 2016


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


More information about the llvm-dev mailing list