[OpenMP] Add JIT and IR tests
authorJohannes Doerfert <johannes@jdoerfert.de>
Mon, 15 May 2023 22:37:40 +0000 (15:37 -0700)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 18 May 2023 20:27:43 +0000 (13:27 -0700)
commitbda72457a84a2803d0db99e22babc9dc2391a34c
tree93f61f1c8ab0a2aafc6a509660210d268cc72acd
parentd037b237de6a4642cc0e01c0d6a5805ae52cb944
[OpenMP] Add JIT and IR tests

The OpenMP target JIT needs testing, so does the IR we actually generate
for the device. This is the initial commit with variations of an "empty
OpenMP kernel" that should all result in a empty IR kernel.

Differential revision: https://reviews.llvm.org/D150623
openmp/libomptarget/test/jit/empty_kernel.inc [new file with mode: 0644]
openmp/libomptarget/test/jit/empty_kernel_lvl1.c [new file with mode: 0644]
openmp/libomptarget/test/jit/empty_kernel_lvl2.c [new file with mode: 0644]
openmp/libomptarget/test/lit.cfg