[clang] [llvm] [RISCV] Add sifive-p670 processor (PR #79015)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 00:17:56 PST 2024


================
@@ -241,7 +241,17 @@
 // MCPU-SIFIVE-P450-SAME: "-target-feature" "+zbb"
 // MCPU-SIFIVE-P450-SAME: "-target-feature" "+zbs"
 // MCPU-SIFIVE-P450-SAME: "-target-abi" "lp64d"
-//
+
+// RUN: %clang -target riscv64 -### -c %s 2>&1 -mcpu=sifive-p670 | FileCheck -check-prefix=MCPU-SIFIVE-P670 %s
----------------
wangpc-pp wrote:

One feature one line?

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


More information about the llvm-commits mailing list