Jay Foad 2582d11f1a
[ADT] Always use 32-bit size type for SmallVector with 16-bit elements (#95536)
`SmallVector` has a special case to allow vector of char to exceed 4 GB
in
size on 64-bit hosts. Apply this special case only for 8-bit element
types, instead of all element types < 32 bits.

This makes `SmallVector<MCPhysReg>` more compact because `MCPhysReg` is
`uint16_t`.

---------

Co-authored-by: Nikita Popov <github@npopov.com>
2024-06-26 21:48:38 +01:00
..
2024-04-12 14:33:35 -07:00
2023-06-13 10:47:18 +01:00
2023-05-30 14:12:20 -07:00
2023-12-01 11:28:42 -08:00