[OpenCL] Use spir target for CIndex tests for OpenCL.
This fixes failing bots. Patch by azabaznov (Anton Zabaznov)! Differential Revision: https://reviews.llvm.org/D98539
This commit is contained in:
parent
50fd426fd8
commit
eed88e91f3
|
@ -3,5 +3,5 @@ void test(int *ptr) {
|
|||
addrspace_cast<__global int*>(ptr);
|
||||
}
|
||||
|
||||
// RUN: c-index-test -test-load-source all %s -cl-std=clc++ | FileCheck %s
|
||||
// RUN: c-index-test -test-load-source all %s -cl-std=clc++ -target spir | FileCheck %s
|
||||
// CHECK: cxx.cl:3:3: CXXAddrspaceCastExpr
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: c-index-test -test-print-type %s -cl-std=CL2.0 | FileCheck %s
|
||||
// RUN: c-index-test -test-print-type %s -cl-std=CL2.0 -target spir | FileCheck %s
|
||||
|
||||
#pragma OPENCL EXTENSION cl_khr_fp16 : enable
|
||||
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
|
||||
|
|
Loading…
Reference in a new issue