================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to