llvm-project
e2c74aa5 - [TableGen][MVT] Lower the maximum 16-bit MVT from 16384 to 511. (#101401)

Commit
1 year ago
[TableGen][MVT] Lower the maximum 16-bit MVT from 16384 to 511. (#101401) MachineValueTypeSet in tablegen allocates an array with a bit per MVT. This used to be 256 bits, with the introduction of 16-bit MVT it ballooned to 65536 bits. I suspect this is increasing the memory usage of many of the data structures used by CodeGenDAGPatterns. Since we don't need the full 16-bit range yet, this patch proposes lowering the maximum MVT to 511 and using only 512 bits for MachineValueTypeSet's storage.
Author
Parents
Loading