[llvm] [IR][ADT] Avoid isPointerIntoBucketsArray in RemoveFromUseList (NFC) (PR #228325)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 18:00:00 PDT 2026


MaskRay wrote:

Side note: this is a minor cleanup. I don't expect we burn several paragraphs on
```
Category                                     Count      %
---------------------------------------------------------
Non-tail element (Next != nullptr)      16,592,855  52.7%
Sole remaining element (erased)          8,198,144  26.0%
Tail of multi-element list (not erased)  6,714,742  21.3%
---------------------------------------------------------
Total                                   31,505,741 100.0%

Metric                     Base             Test   Delta
--------------------------------------------------------
instructions:u  194,745,673,762  194,513,892,029  -0.12%
cpu-cycles:u    141,184,939,025  141,042,112,760  -0.10%
time elapsed           54.9115s         54.8629s  -0.09%
```

in the commit message. It's ok to post a separate comment for this.

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


More information about the llvm-commits mailing list