[all-commits] [llvm/llvm-project] 59908f: [RISCV] Use uint16_t instead of unsigned for opcod...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sat Jan 9 19:30:01 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59908fc06ace351dad0b82b38c793f7b92ab4530
https://github.com/llvm/llvm-project/commit/59908fc06ace351dad0b82b38c793f7b92ab4530
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-01-09 (Sat, 09 Jan 2021)
Changed paths:
M llvm/lib/Target/RISCV/Utils/RISCVBaseInfo.h
Log Message:
-----------
[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.
More information about the All-commits
mailing list