diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-03-22 01:50:42 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-03-22 01:50:42 +0000 |
| commit | 250726ec2526f18fb0647882d408d36be20e3a41 (patch) | |
| tree | 19e46c1e52013dd091b18710cc64d14b23c956fc /llvm/lib/Analysis/DataStructure/Local.cpp | |
| parent | e05c633099b728e77d6b2760749f6bba9cf61942 (diff) | |
| download | bcm5719-llvm-250726ec2526f18fb0647882d408d36be20e3a41.tar.gz bcm5719-llvm-250726ec2526f18fb0647882d408d36be20e3a41.zip | |
When making a clone of a DSGraph from the BU pass, make sure to remember that
this clone is supposed to be used for *ALL* of the functions in the SCC.
This fixes the memory explosion problem the TD pass was having, reducing the
memory growth from 24MB -> 3.5MB on povray and 270MB ->8.3MB on perlbmk!
This obviously also speeds up the TD pass *a lot*.
llvm-svn: 20763
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
0 files changed, 0 insertions, 0 deletions

