[clang] [llvm] [RISCV] Support RISC-V Profiles in -march option (PR #76357)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 20:22:57 PST 2024


================
@@ -240,6 +245,17 @@ static const RISCVSupportedExtension SupportedExperimentalExtensions[] = {
 };
 // clang-format on
 
+static const RISCVProfile SupportedProfiles[] = {
+    {"rvi20u32", "rv32i"},
+    {"rvi20u64", "rv64i"},
+    {"rva20u64", "rv64imafdc_zicsr"},
----------------
topperc wrote:

`zicsr` is implied by `f`

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


More information about the cfe-commits mailing list