diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-09-03 22:07:30 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-09-03 22:07:30 +0000 |
commit | 8b8a7fcf68c3bb6f8b90f5f1813ebb391b56e550 (patch) | |
tree | 105b76e2b346bccfbbf2559db38727734f010933 /lib/CodeGen/ExactHazardRecognizer.cpp | |
parent | 57ed2224b3b1ad55a86741f833973a5a335c9a4c (diff) |
Make ImmutableMap/ImmutableSet quicker by only canonicalizing the tree after an
Add or Remove operation complete, and not while building the intermediate tree.
This trades a little bit more memory usage for less accesses to the FoldingSet. On a benchmark for the clang static analyzer, this shaves off another 13% of execution time when using field/array sensitivity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ExactHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions