================
@@ -2206,6 +2206,21 @@ void Clang::AddRISCVTargetArgs(const ArgList &Args,
           << A->getSpelling() << Val;
     }
   }
+
+  if (Arg *A = Args.getLastArg(options::OPT_mriscv_abi_vlen_EQ)) {
+    StringRef ABIVLenStr = A->getValue();
+    unsigned ABIVLen;
+    const Driver &D = getToolChain().getDriver();
+    if (ABIVLenStr.getAsInteger(10, ABIVLen) || ABIVLen < 128 ||
----------------
4vtomat wrote:

Correct, it supports 32 and 64 also, I'll correct it.

https://github.com/llvm/llvm-project/pull/100346
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to