diff options
author | Kazu Hirata <kazu@google.com> | 2024-01-27 08:46:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 08:46:02 -0800 |
commit | 863b2c84c0fbcfb02d969fa36af4932d410a827b (patch) | |
tree | 6ffb4a23e7953a68249eb08274442997e2b58391 /clang/lib/Lex/Preprocessor.cpp | |
parent | 57a20d2d09bbd3cc501fc6d8b4746be2040c99b7 (diff) | |
download | llvm-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 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions