[clang] [llvm] [RISCV] Add Spacemit X100 processor definition (PR #173988)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 5 19:18:08 PST 2026


================
@@ -160,6 +160,14 @@
 // MCPU-SPACEMIT-X60-SAME: "-target-feature" "+xsmtvdot"
 // MCPU-SPACEMIT-X60-SAME: "-target-abi" "lp64d"
 
+// RUN: %clang --target=riscv64 -### -c %s 2>&1 -mcpu=spacemit-x100 | FileCheck -check-prefix=MCPU-SPACEMIT-X100 %s
----------------
wangpc-pp wrote:

I don't see why we still need these tests here since we have tests in `print-enabled-extensions/riscv-*.c`.

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


More information about the cfe-commits mailing list