This is an archive of the discontinued LLVM Phabricator instance.

[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.
This makes printing consistent with disassembly.

Diff Detail

Event Timeline

craig.topper created this revision.Feb 5 2023, 8:15 PM
craig.topper requested review of this revision.Feb 5 2023, 8:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2023, 8:15 PM
luismarques accepted this revision.Feb 6 2023, 6:27 AM
This revision is now accepted and ready to land.Feb 6 2023, 6:27 AM