Instead of making it an AsmParserOnly instruction, make it an alias.
This makes printing consistent with disassembly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143362
[RISCV] Make 'c.addi x0, imm' an alias for 'c.nop imm'. ClosedPublic Authored by craig.topper on Feb 5 2023, 8:15 PM.
Details Summary Instead of making it an AsmParserOnly instruction, make it an alias.
Diff Detail
Event TimelineHerald added subscribers: luke, VincentWu, jeroen.dobbelaere and 26 others. · View Herald Transcript This revision is now accepted and ready to land.Feb 6 2023, 6:27 AM Closed by commit rG638abc270db2: [RISCV] Make 'c.addi x0, imm' an alias for 'c.nop imm'. (authored by craig.topper). · Explain WhyFeb 6 2023, 7:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 494989 llvm/lib/Target/RISCV/RISCVInstrInfoC.td
llvm/test/MC/RISCV/rvc-hints-valid.s
|