[llvm] [RISCV] Use RVInst16CB for C_SRLI64_HINT and C_SRAI64_HINT. (PR #112250)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 13:57:49 PDT 2024
lenary wrote:
I was recently looking at how the backend chooses to do an RVC encoding vs a regular encoding, and was fairly surprised that it's effectively implicitly done from the tablegen insts - rather than us having a separate table. I'm not sure how we would do a separate table (as it's not a HwMode thing, it's a per-instruction thing), but this is the kind of thing I think that cannot be caught with the implicit approach (even though there's no actual bug here).
https://github.com/llvm/llvm-project/pull/112250
More information about the llvm-commits
mailing list