[llvm] [IR] Unique attribute sets and lists in a UniquingSet. NFC (PR #221525)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 5 22:52:23 PDT 2026
MaskRay wrote:
% ct_table.rb 'https://llvm-compile-time-tracker.com/compare.php?from=72417eb739e5d66fd345c3cc9e2265b8a7949fe1&to=88a24f6a8ce6f0534a62065bd7ad4f928c1d29c7&stat=instructions:u'
CTMark geomean `instructions:u`: ๐ข 8 improved (best -0.15%).
| Config | instructions:u | ฯ | max-rss |
| :-------------------- | -------------: | --: | ------: |
| stage1-O3 | ๐ข **-0.08%** | 7.4 | +0.05% |
| stage1-ReleaseThinLTO | ๐ข **-0.10%** | 10 | -0.05% |
| stage1-ReleaseLTO-g | ๐ข **-0.07%** | 5.2 | +0.03% |
| stage1-O0-g | ๐ข **-0.15%** | 9.1 | -0.10% |
| stage1-aarch64-O3 | ๐ข **-0.08%** | 7.7 | -0.06% |
| stage1-aarch64-O0-g | ๐ข **-0.12%** | 6.0 | +0.15% |
| stage2-O3 | ๐ข **-0.07%** | 3.5 | +0.16% |
| stage2-O0-g | ๐ข **-0.14%** | 6.4 | +0.23% |
Building clang itself (stage2, ThinLTO):
| Metric | Old | New | ฮ | ฯ |
| :----------------- | --------: | --------: | ------------: | --: |
| instructions:u | 19195346M | 19151916M | ๐ข **-0.23%** | 11 |
| wall-time | 325.72s | 327.71s | +0.61% | 0.8 |
| size-file | 137191KiB | 137190KiB | -0.00% | โ |
| size-file (stage1) | 155189KiB | 155188KiB | -0.00% | 0.4 |
<details><summary>Per-benchmark <code>instructions:u</code> (bold = beyond noise)</summary>
| Benchmark | s1-O3 | s1-ThinLTO | s1-LTO-g | s1-O0-g | s1-a64-O3 | s1-a64-O0-g | s2-O3 | s2-O0-g |
| :--------------- | ---------: | ---------: | ---------: | ---------: | ---------: | ----------: | ---------: | ---------: |
| kimwitu++ | -0.18% | **-0.24%** | -0.18% | **-0.23%** | -0.18% | -0.19% | -0.15% | -0.17% |
| sqlite3 | -0.04% | -0.06% | +0.00% | -0.21% | -0.06% | -0.16% | -0.05% | -0.18% |
| consumer-typeset | -0.03% | **-0.08%** | -0.04% | **-0.07%** | -0.05% | -0.04% | -0.03% | **-0.09%** |
| Bullet | **-0.10%** | **-0.13%** | **-0.12%** | **-0.12%** | -0.09% | -0.09% | **-0.08%** | -0.07% |
| tramp3d-v4 | **-0.15%** | **-0.09%** | -0.10% | **-0.35%** | -0.09% | -0.37% | -0.10% | **-0.37%** |
| mafft | -0.03% | **-0.06%** | -0.02% | **-0.07%** | -0.06% | -0.03% | -0.03% | **-0.10%** |
| ClamAV | -0.03% | **-0.09%** | -0.05% | **-0.10%** | **-0.06%** | **-0.07%** | -0.04% | **-0.08%** |
| lencod | -0.02% | -0.00% | -0.02% | **-0.10%** | -0.02% | -0.05% | -0.03% | **-0.08%** |
| SPASS | **-0.13%** | **-0.12%** | **-0.13%** | **-0.19%** | **-0.12%** | **-0.15%** | **-0.11%** | **-0.20%** |
| 7zip | -0.08% | -0.07% | -0.04% | -0.05% | -0.06% | -0.05% | -0.04% | -0.07% |
| **geomean** | **-0.08%** | **-0.10%** | **-0.07%** | **-0.15%** | **-0.08%** | **-0.12%** | **-0.07%** | **-0.14%** |
</details>
[Compile-time tracker](https://llvm-compile-time-tracker.com/compare.php?from=72417eb739e5d66fd345c3cc9e2265b8a7949fe1&to=88a24f6a8ce6f0534a62065bd7ad4f928c1d29c7&stat=instructions%3Au) ยท [`72417eb` โ `88a24f6`](https://github.com/llvm/llvm-project/compare/72417eb739e5d66fd345c3cc9e2265b8a7949fe1...88a24f6a8ce6f0534a62065bd7ad4f928c1d29c7) ยท ๐ข/๐ด = |ฮ| โฅ 3ฯ of the tracker's measured run-to-run noise, reported as ฯ for `instructions:u`.
https://github.com/llvm/llvm-project/pull/221525
More information about the llvm-commits
mailing list