[all-commits] [llvm/llvm-project] c2df71: [RISCV] Merge some of the C_*_HINT instruction int...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Jul 25 20:55:36 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c2df717aa95f75a6bd143c202b95dc880350535b
https://github.com/llvm/llvm-project/commit/c2df717aa95f75a6bd143c202b95dc880350535b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-07-25 (Fri, 25 Jul 2025)
Changed paths:
M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
M llvm/lib/Target/RISCV/RISCVRegisterInfo.td
M llvm/test/MC/RISCV/rv32c-invalid.s
M llvm/test/MC/RISCV/rve-invalid.s
Log Message:
-----------
[RISCV] Merge some of the C_*_HINT instruction into the regular C_* instructions. (#150710)
Register classes and immediate predicates in a CompressPat no longer
need to match the compressed instruction. We can now merge most of the
C_*_HINT instructions into their non-HINT equivalents.
I've left c.slli64/srli64/srai6 out to avoid conflict with #150689.
C_NOP_HINT is left out because the spec refers to C_NOP as a separate
instruction from C_ADDI. C_NOP does not allow an immediate operand but
C_NOP_HINT does.
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