it's too bad LLVM does't compile a 10-bit bitfield to an i10, that would be very tidy godbolt.org/z/TTK5rr
Conversation
I expect there's a good reason for this, but clang does compile C++ bools to i1s
2
6
Replying to
It uses a mix of i8 with range metadata and i1 for bools.

