[PATCH] D130141: [RISCV] Add MC support of RISCV Zca Extension
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 12:28:23 PDT 2022
jrtc27 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVSubtarget.h:171
bool hasStdExtZvfh() const { return HasStdExtZvfh; }
+ bool hasStdExtZca() const { return HasStdExtZca; }
bool hasStdExtZfhmin() const { return HasStdExtZfhmin; }
----------------
Alphabetise
================
Comment at: llvm/test/MC/RISCV/rv32c-only-valid.s:20
# CHECK-ASM: encoding: [0xfd,0x2f]
# CHECK-NO-EXT: error: instruction requires the following: 'C' (Compressed Instructions)
# CHECK-NO-RV32: error: instruction requires the following: RV32I Base Instruction Set
----------------
This needs ` or 'Zca' ...` adding otherwise you're not checking what you think you are. Are there cases of this in other files too?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130141/new/
https://reviews.llvm.org/D130141
More information about the llvm-commits
mailing list