[all-commits] [llvm/llvm-project] c9bfda: [RISCV] Use uint64_t for Insn in getInstruction32 ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Jul 1 21:45:24 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9bfdae62002545db2de76e967da245048908284
https://github.com/llvm/llvm-project/commit/c9bfdae62002545db2de76e967da245048908284
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Log Message:
-----------
[RISCV] Use uint64_t for Insn in getInstruction32 and getInstruction16. NFC (#146619)
Insn is passed to decodeInstruction which is a template function based
on the type of Insn. By using uint64_t we ensure only one version of
decodeInstruction is created. This reduces the file size of
RISCVDisassembler.cpp.o by ~25% in my local build.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list