[clang] [llvm] [RISCV][MC] Support experimental extensions Zvbc32e and Zvkgs (PR #103709)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 07:43:32 PDT 2024


================
@@ -750,8 +750,13 @@ Error RISCVISAInfo::checkDependency() {
     return getError(
         "'zvbc' requires 'v' or 'zve64*' extension to also be specified");
 
-  if ((Exts.count("zvkb") || Exts.count("zvkg") || Exts.count("zvkned") ||
-       Exts.count("zvknha") || Exts.count("zvksed") || Exts.count("zvksh")) &&
+  if (Exts.count("zvbc32e") && !Exts.count("zve32x"))
----------------
topperc wrote:

Why is this different than the check for `"'zvk*' requires 'v' or 'zve*' extension to also be specified"`?

https://github.com/llvm/llvm-project/pull/103709


More information about the cfe-commits mailing list