[llvm] [clang] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 15:10:33 PST 2024


================
@@ -1120,6 +1121,14 @@
 // RUN:   -o - | FileCheck --check-prefix=CHECK-SMEPMP-EXT %s
 // CHECK-SMEPMP-EXT: __riscv_smepmp  1000000{{$}}
 
+// RUN: %clang --target=riscv32 -menable-experimental-extensions \
+// RUN: -march=rv32i_zalasr1p0 -x c -E -dM %s \
----------------
topperc wrote:

Indent line continuations 2 spaces and drop `-x c`. This was recently updated in the reset of the file.

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


More information about the cfe-commits mailing list