[llvm] [TableGen] Unique the remaining Init pools in a UniquingSet. NFC (PR #221394)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 5 16:32:53 PDT 2026


MaskRay wrote:

> LGTM. Your commit message "std::variant has no DenseMapInfo" probably needs updating. We do have `DenseMapInfoVariant.h`. Thanks!

Thanks! Included `DenseMapInfoVariant.h` and migrated `ArgumentInit` as well. Re-measured instructions retired:

```
                      old (9 pools)   new (10 pools)
RISCV  asm-matcher      -2.553%         -3.492%
RISCV  register-info    -2.829%         -4.027%
X86    dag-isel         -1.268%         -1.573%
AMDGPU subtarget        -0.985%         -1.140%
```

https://github.com/llvm/llvm-project/pull/221394


More information about the llvm-commits mailing list