aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-01-27 08:46:02 -0800
committerGitHub <noreply@github.com>2024-01-27 08:46:02 -0800
commit863b2c84c0fbcfb02d969fa36af4932d410a827b (patch)
tree6ffb4a23e7953a68249eb08274442997e2b58391 /llvm/tools/llvm-cov/SourceCoverageView.cpp
parent57a20d2d09bbd3cc501fc6d8b4746be2040c99b7 (diff)
downloadllvm-863b2c84c0fbcfb02d969fa36af4932d410a827b.zip
llvm-863b2c84c0fbcfb02d969fa36af4932d410a827b.tar.gz
llvm-863b2c84c0fbcfb02d969fa36af4932d410a827b.tar.bz2
[DAGCombiner] Use SmallDenseMap (NFC) (#79681)
The use of SmallDenseMap saves 0.48% of heap allocations during the compilation of a large preprocessed file, namely X86ISelLowering.cpp, for the X86 target. During the experiment, the maximum size of WorklistMap was 24 or less 74% of the time. (Note that DenseMap has the maximum occupancy rate of 3/4.)
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions