diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-01-25 22:25:23 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-01-25 22:25:23 +0000 |
| commit | e41d7feaf55ab4ea31d0dad50b6c8df98bf30f43 (patch) | |
| tree | 39714ef998448b7e1f894053433266f34b82450d /llvm/lib/Bitcode | |
| parent | c9f860d1242475d7f6a7e049b65ce0a2c39092a1 (diff) | |
| download | llvm-e41d7feaf55ab4ea31d0dad50b6c8df98bf30f43.zip llvm-e41d7feaf55ab4ea31d0dad50b6c8df98bf30f43.tar.gz llvm-e41d7feaf55ab4ea31d0dad50b6c8df98bf30f43.tar.bz2 | |
Optimize ModuleManager::visit() by precomputing the visitation order
and limiting ourselves to two memory allocations. 10% speedup in
-fsyntax-only time for modules.
With this change, we can actually see some performance different from
the global module index, but it's still about 1%.
llvm-svn: 173512
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
