diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2024-09-26 09:47:16 +0100 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2024-09-26 10:49:29 +0100 |
commit | 056a3f4673a4f88d89e9bf00614355f671014ca5 (patch) | |
tree | 56154eb96746511dabe330939c159982dc730b98 /clang/lib/Sema/SemaCUDA.cpp | |
parent | d9250061e10b82f82d9833009f6565775578ee58 (diff) | |
download | llvm-056a3f4673a4f88d89e9bf00614355f671014ca5.zip llvm-056a3f4673a4f88d89e9bf00614355f671014ca5.tar.gz llvm-056a3f4673a4f88d89e9bf00614355f671014ca5.tar.bz2 |
[NFC] Reapply 3f37c517f, SmallDenseMap speedups
This time with 100% more building unit tests. Original commit message follows.
[NFC] Switch a number of DenseMaps to SmallDenseMaps for speedup (#109417)
If we use SmallDenseMaps instead of DenseMaps at these locations,
we get a substantial speedup because there's less spurious malloc
traffic. Discovered by instrumenting DenseMap with some accounting
code, then selecting sites where we'll get the most bang for our buck.
Diffstat (limited to 'clang/lib/Sema/SemaCUDA.cpp')
0 files changed, 0 insertions, 0 deletions