[llvm] [RISCV] Add QingKe "XW" compressed opcode extension (PR #97925)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 6 18:01:41 PDT 2024
================
@@ -799,6 +800,14 @@ Error RISCVISAInfo::checkDependency() {
errc::invalid_argument,
"'zabha' requires 'a' or 'zaamo' extension to also be specified");
+ if (HasD && Exts.count("xwchc") != 0)
----------------
ArcaneNibble wrote:
I don't believe the opcode encodings *conflict* with XLen != 32, but, as no 64-bit microcontrollers from this vendor currently exist, I will add this check.
https://github.com/llvm/llvm-project/pull/97925
More information about the llvm-commits
mailing list