llvm-project
0f7cbc3a - [ADT] Remove padding from ImutAVLTree nodes (#244655)

Commit
3 hours ago
[ADT] Remove padding from ImutAVLTree nodes (#244655) Move the reference count next to the height and flag bit-fields. This removes 8 bytes of padding when the value is pointer-aligned: a non-canonicalizing set of pointers goes from 48 to 40 bytes per node and a map from pointers to pointers from 56 to 48. Peak memory of the liveness analysis on a large function drops by up to 10%. Assisted-by: Claude Opus 5.5 Co-authored-by: Gabor Horvath <gaborh@apple.com>
Author
Parents
Loading