[clang] fe3fd1e - [clang][RISCV] Add REQRUIES to riscv-intrinsic-exts.c (#195605)
via cfe-commits
cfe-commits at lists.llvm.org
Mon May 4 01:12:02 PDT 2026
Author: Brandon Wu
Date: 2026-05-04T08:11:57Z
New Revision: fe3fd1e5ed7694f2cb7b3b3a36bcb9f9211ea9e7
URL: https://github.com/llvm/llvm-project/commit/fe3fd1e5ed7694f2cb7b3b3a36bcb9f9211ea9e7
DIFF: https://github.com/llvm/llvm-project/commit/fe3fd1e5ed7694f2cb7b3b3a36bcb9f9211ea9e7.diff
LOG: [clang][RISCV] Add REQRUIES to riscv-intrinsic-exts.c (#195605)
Added:
Modified:
clang/test/Preprocessor/riscv-intrinsic-exts.c
Removed:
################################################################################
diff --git a/clang/test/Preprocessor/riscv-intrinsic-exts.c b/clang/test/Preprocessor/riscv-intrinsic-exts.c
index 133b2c3600a1e..448c33a467cee 100644
--- a/clang/test/Preprocessor/riscv-intrinsic-exts.c
+++ b/clang/test/Preprocessor/riscv-intrinsic-exts.c
@@ -2,6 +2,8 @@
// These macros indicate which extensions have intrinsics supported by the
// toolchain, regardless of whether they are currently enabled via -march.
+// REQUIRES: riscv-registered-target
+
// RUN: %clang_cc1 -triple riscv32 -target-feature +zihintntl -E -dM %s -o - \
// RUN: | FileCheck --check-prefix=CHECK-INTRINSIC-EXTS %s
// RUN: %clang_cc1 -triple riscv64 -target-feature +zihintntl -E -dM %s -o - \
More information about the cfe-commits
mailing list