[clang] [llvm] [RISCV] Add Qualcomm uC Xqcicsr (CSR) extension (PR #117169)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 21:54:58 PST 2024


================
@@ -771,6 +771,10 @@ Error RISCVISAInfo::checkDependency() {
       return getIncompatibleError("xwchc", "zcb");
   }
 
+  if (Exts.count("xqcicsr") != 0 && (XLen != 32)) {
+    return getError("'xqcicsr' is only supported in 'rv32'");
----------------
topperc wrote:

`in` -> `for` to match the similar error messages above.

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


More information about the cfe-commits mailing list