[all-commits] [llvm/llvm-project] 638abc: [RISCV] Make 'c.addi x0, imm' an alias for 'c.nop ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Feb 6 07:26:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 638abc270db27a1709890fcdca394bad26f9432b
https://github.com/llvm/llvm-project/commit/638abc270db27a1709890fcdca394bad26f9432b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
M llvm/test/MC/RISCV/rvc-hints-valid.s
Log Message:
-----------
[RISCV] Make 'c.addi x0, imm' an alias for 'c.nop imm'.
Instead of making it an AsmParserOnly instruction, make it an alias.
This makes printing consistent with disassembly.
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D143362
Commit: 2398e2057cfacb19d6a5d95455377081b34a7526
https://github.com/llvm/llvm-project/commit/2398e2057cfacb19d6a5d95455377081b34a7526
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
Log Message:
-----------
[RISCV] Remove DecoderMethod from C_NOP_HINT. NFC
This doesn't appear to be needed.
Differential Revision: https://reviews.llvm.org/D143367
Compare: https://github.com/llvm/llvm-project/compare/c89c31a2306e...2398e2057cfa
More information about the All-commits
mailing list