[TableGen] Use uint8_t for bit_value_t enum. NFC

This reduces the amount of space needed for vectors of bit_value_t
and allows the user of memset.

Also reorder the enum values so BIT_FALSE is 0 and BIT_TRUE is 1.
This commit is contained in:
Craig Topper 2025-03-07 23:21:23 -08:00
parent d65719fab3
commit f2607df291

View File

@ -190,9 +190,9 @@ public:
//
// BIT_UNFILTERED is used as the init value for a filter position. It is used
// only for filter processings.
typedef enum {
BIT_TRUE, // '1'
typedef enum : uint8_t {
BIT_FALSE, // '0'
BIT_TRUE, // '1'
BIT_UNSET, // '?'
BIT_UNFILTERED // unfiltered
} bit_value_t;