[PATCH] D15391: [LazyValueInfo] Reduce memory usage
Manman Ren via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 9 12:27:17 PST 2015
manmanren added a subscriber: manmanren.
manmanren added a comment.
Hi Akira,
Thanks for working on this! The numbers look impressive.
I didn't really look into the patch but wonder if you can elaborate a little more on the issue.
When the lattice value of a value is overdefined, LazyValueInfoCache inserts the lattice value into LazyValueInfoCache::ValueCache in addition to inserting it into OverDefinedCache. This isn't necessary and causes LazyValueInfo to use an excessive amount of memory in some cases.
--> Is it possible to give a simple example where LazyValueInfo uses an excessive amount of memory?
--> Maybe a testing case?
Cheers,
Manman
http://reviews.llvm.org/D15391
More information about the llvm-commits
mailing list