diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-02 05:55:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-02 05:55:40 +0000 |
commit | 2a0433beea44b63da36fd051c29af69ff2675b38 (patch) | |
tree | 19b2eafed7a482003881c0587ff16436edeb26f3 /include/llvm/Metadata.h | |
parent | 7baae87d8f188262e07922348d88201f32514b1c (diff) | |
download | external_llvm-2a0433beea44b63da36fd051c29af69ff2675b38.zip external_llvm-2a0433beea44b63da36fd051c29af69ff2675b38.tar.gz external_llvm-2a0433beea44b63da36fd051c29af69ff2675b38.tar.bz2 |
switch the main 'ValueState' map from being an std::map to being
a DenseMap. Doing this required being aware of subtle iterator
invalidation issues, but it provides a big speedup. In a
release-asserts build, this sped up optimizing 403.gcc from
1.34s -> 0.79s (IPSCCP) and 1.11s -> 0.44s (SCCP).
This commit also conflates in a bunch of general cleanups, sorry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Metadata.h')
0 files changed, 0 insertions, 0 deletions