[libclc] [libclc] Add initial LIT tests (PR #87989)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 17 10:23:11 PDT 2024


================
@@ -1,3 +1,6 @@
-__kernel void foo(int *i) {
+// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s
----------------
arsenm wrote:

You can have different target coexist in the same test files when appropriate and just multi-list REQUIRES. Clang does this regularly (OpenMP in particular has a lot of multi targeted codegen tests)

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


More information about the cfe-commits mailing list