[llvm] [MVT][TableGen] Extend Machine Value Type to `uint16_t` (PR #99657)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 30 09:59:12 PDT 2024
================
@@ -79,12 +79,12 @@ static void VTtoGetLLVMTyString(raw_ostream &OS, const Record *VT) {
void VTEmitter::run(raw_ostream &OS) {
emitSourceFileHeader("ValueTypes Source Fragment", OS, Records);
- std::array<const Record *, 256> VTsByNumber = {};
+ std::array<const Record *, 65536> VTsByNumber = {};
----------------
topperc wrote:
16384? And should probably change to std::vector to avoid a large stack allocation.
https://github.com/llvm/llvm-project/pull/99657
More information about the llvm-commits
mailing list