[all-commits] [llvm/llvm-project] 863b2c: [DAGCombiner] Use SmallDenseMap (NFC) (#79681)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sat Jan 27 08:46:14 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 863b2c84c0fbcfb02d969fa36af4932d410a827b
https://github.com/llvm/llvm-project/commit/863b2c84c0fbcfb02d969fa36af4932d410a827b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-01-27 (Sat, 27 Jan 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[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.)
More information about the All-commits
mailing list