[clang] [llvm] [RISCV] Add Codegen support for ACLIC (PR #238325)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 9 12:52:54 PST 2026
================
@@ -0,0 +1,43 @@
+// RUN: %clang_cc1 -triple riscv64-unknown-elf \
+// RUN: -target-feature +experimental-smnip \
+// RUN: -target-feature +experimental-ssnip \
+// RUN: -target-feature +experimental-smip \
+// RUN: -target-feature +experimental-ssip -emit-llvm -DCHECK_IR %s -o - \
+// RUN: | FileCheck %s
+// RUN: %clang_cc1 -triple riscv64-unknown-elf \
+// RUN: -target-feature +experimental-smnip \
+// RUN: -target-feature +experimental-ssnip \
+// RUN: -target-feature +experimental-smip \
+// RUN: -target-feature +experimental-ssip -verify=enabled,both \
+// RUN: -fsyntax-only %s
+// RUN: %clang_cc1 -triple riscv64-unknown-elf -verify=disabled,both \
+// RUN: -fsyntax-only %s
+
+#ifdef CHECK_IR
----------------
topperc wrote:
Should we just have two test files? I'm not sure what the advantage of having the entire test content inside #ifdef/#else. Nothing is being shared.
https://github.com/llvm/llvm-project/pull/238325
More information about the cfe-commits
mailing list