[clang] [llvm] [RISCV] Add support for Smepmp 1.0 (PR #78489)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 13:16:26 PST 2024
================
@@ -1047,6 +1048,14 @@
// RUN: -o - | FileCheck --check-prefix=CHECK-SSAIA-EXT %s
// CHECK-SSAIA-EXT: __riscv_ssaia 1000000{{$}}
+// RUN: %clang --target=riscv32 -menable-experimental-extensions \
+// RUN: -march=rv32ismepmp1p0 -x c -E -dM %s \
+// RUN: -o - | FileCheck --check-prefix=CHECK-SMEPMP-EXT %s
+// RUN: %clang --target=riscv64 -menable-experimental-extensions \
----------------
topperc wrote:
This extension shouldn't require `-menable-experimental-extensions`
https://github.com/llvm/llvm-project/pull/78489
More information about the llvm-commits
mailing list