[llvm] [clang] [RISCV] Add Ssqosid support to -march. (PR #80747)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 19:47:00 PST 2024


================
@@ -1612,6 +1613,14 @@
 // RUN:   -o - | FileCheck --check-prefix=CHECK-SUPM-EXT %s
 // CHECK-SUPM-EXT: __riscv_supm 8000{{$}}
 
+// RUN: %clang --target=riscv32 -menable-experimental-extensions \
+// RUN:   -march=rv32i_ssqosid1p0 -E -dM %s \
+// RUN:   -o - | FileCheck --check-prefix=CHECK-SSQOSID-EXT %s
+// RUN: %clang --target=riscv64 \
+// RUN:   -march=rv64i_ssqosid1p0 -E -dM %s -menable-experimental-extensions \
----------------
wangpc-pp wrote:

Why is `-menable-experimental-extensions` here?

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


More information about the llvm-commits mailing list