[clang] [llvm] [RISCV][MC] Support experimental extensions Zvbc32e and Zvkgs (PR #103709)
    Craig Topper via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Aug 14 07:45:37 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"))
+    return getError(
+        "'zvbc32e' requires 'v' or 'zve32*' extension to also be specified");
----------------
topperc wrote:
Can we say "requires 'v' or 'zve*' extension to also be specified" like the Zvk extension? That way the way the user doesn't need to think about Zve64* implying Zve32x.
https://github.com/llvm/llvm-project/pull/103709
    
    
More information about the llvm-commits
mailing list