[all-commits] [llvm/llvm-project] 0850e7: [RISCV] Convert C_ADDI_NOP to C_NOP in the assembl...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Oct 16 09:47:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0850e721ab1c198f08994f003873a4147ec05e25
https://github.com/llvm/llvm-project/commit/0850e721ab1c198f08994f003873a4147ec05e25
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
M llvm/test/MC/RISCV/rv32c-valid.s
Log Message:
-----------
[RISCV] Convert C_ADDI_NOP to C_NOP in the assembler. (#112314)
Make it a pseudoinstruction so we can convert it to C_NOP. This makes
the printing from the assembler consistent with what we get from
llvm-objdump.
I tried to do this with an InstAlias, but I don't think it can drop
operands.
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