[clang] [llvm] [RISCV] Add Qualcomm uC Xqcisls (Scaled Load Store) extension (PR #117987)

Sudharsan Veeravalli via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 28 18:05:06 PST 2024


================
@@ -771,9 +772,11 @@ Error RISCVISAInfo::checkDependency() {
       return getIncompatibleError("xwchc", "zcb");
   }
 
-  if (Exts.count("xqcicsr") != 0 && (XLen != 32)) {
-    return getError("'xqcicsr' is only supported for 'rv32'");
-  }
+  for (auto Ext : XqciExts)
+    if (Exts.count(Ext.str()) && (XLen != 32))
+      return createStringError(errc::invalid_argument,
----------------
svs-quic wrote:

Thanks, I've made the change.

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


More information about the cfe-commits mailing list