[clang] [llvm] [RISCV] Add SpacemiT A100 processor definition (PR #174052)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 15 21:00:19 PST 2026


================
@@ -735,6 +735,38 @@ def XIANGSHAN_KUNMINGHU : RISCVProcessorModel<"xiangshan-kunminghu",
                                                TuneZExtWFusion,
                                                TuneShiftedZExtWFusion]>;
 
+def SPACEMIT_A100 : RISCVProcessorModel<"spacemit-a100",
+                                        SpacemitX60Model,
+                                        !listconcat(
+                                        !listremove(RVA23S64Features,
----------------
wangpc-pp wrote:

Actually I don't see any downside, the only thing I think is the generated `MArch` string is too long. Usually we don't need these privileged extensions when compiling user-space programs.

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


More information about the llvm-commits mailing list