diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-09 18:00:05 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-09 19:26:32 -0800 |
commit | 59908fc06ace351dad0b82b38c793f7b92ab4530 (patch) | |
tree | 1ae91956ae1b5955fc915d1fb6440f302faefee5 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 1198478c4208726774d6e31ac9be7fd2a8f0d802 (diff) | |
download | llvm-59908fc06ace351dad0b82b38c793f7b92ab4530.zip llvm-59908fc06ace351dad0b82b38c793f7b92ab4530.tar.gz llvm-59908fc06ace351dad0b82b38c793f7b92ab4530.tar.bz2 |
[RISCV] Use uint16_t instead of unsigned for opcodes in the RVV pseudo instruction table.
We currently have about 7000 opcodes in the RISCVGenInstrInfo.inc
enum. We can use uint16_t to store these values. We would need to
grow by nearly 9x before we run out of space so this should last
for a little while.
This reduces the llc binary by 32K.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions