[clang] [clang][RISCV] Enable RVV with function attribute __attribute__((target("arch=+v"))) (PR #83674)

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 02:41:54 PST 2024


================
@@ -463,7 +463,8 @@ ParsedTargetAttr RISCVTargetInfo::parseTargetAttr(StringRef Features) const {
         Ret.Duplicate = "tune=";
 
       Ret.Tune = AttrString;
-    }
+    } else if (Feature.starts_with("+"))
----------------
4vtomat wrote:

Updated!

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


More information about the cfe-commits mailing list