[PATCH] D133443: [RISCV][MC] Add support for experimental Zawrs extension

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 16 08:22:08 PDT 2022


asb requested changes to this revision.
asb added a comment.
This revision now requires changes to proceed.

Everything that's in this patch looks good to me - it's just missing some simple round-trip tests in the style of rv32zicboz-valid.s (and perhaps an -invalid.s that shows a sensible error message being produced when the instructions have an argument).

In terms of which *.td file to edit - RISCVInstrInfoA.td is another possibility. The plan had been that for the `z?foo` extensions, the letter after the z indicated which of the top-level extensions it was most relevant to - e.g. the zc* extensions (ztso predated this idea). I don't mind much either way - I'm happy with it in either location.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133443/new/

https://reviews.llvm.org/D133443



More information about the cfe-commits mailing list