llvm-project/llvm/projects/opencl-clang/tests/Manual/testsuite/check-cl-no-subgroup-ifp-option.cl
raw| 1 | /* 'testsuite/check-cl-no-subgroup-ifp-option.cl' */ |
| 2 | |
| 3 | // RUN: %occ-cli %s --cl-options=-cl-no-subgroup-ifp %cfg_path --cl-device=%cl_device --output=%t.bc RUN: llvm-dis %t.bc -o - | FileCheck %s |
| 4 | // XFAIL: * |
| 5 | |
| 6 | // buildOptions: |
| 7 | // CHECK: !opencl.compiler.options = !{![[MDN:[0-9]+]]} |
| 8 | // CHECK: ![[MDN]] = {{.*}}"-cl-no-subgroup-ifp" |
| 9 | |
| 10 | __kernel void ocl_test_kernel() {} |