File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
llvm-spirv/test/transcoding Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -O1 -triple spir-unknown-unknown -cl-std=CL2.0 %s -finclude-default-header -emit-llvm-bc -o %t.bc
1
+ // RUN: %clang_cc1 -O1 -triple spir-unknown-unknown -cl-std=CL2.0 %s -fdeclare-opencl-builtins - finclude-default-header -emit-llvm-bc -o %t.bc
2
2
// RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
3
3
// RUN: FileCheck < %t.txt %s --check-prefix=CHECK-SPIRV
4
4
// RUN: llvm-spirv %t.bc -o %t.spv
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -O1 -triple spir-unknown-unknown -cl-std=CL2.0 %s -finclude-default-header -emit-llvm-bc -o %t.bc
1
+ // RUN: %clang_cc1 -O1 -triple spir-unknown-unknown -cl-std=CL2.0 %s -fdeclare-opencl-builtins - finclude-default-header -emit-llvm-bc -o %t.bc
2
2
// RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
3
3
// RUN: FileCheck < %t.txt %s --check-prefix=CHECK-SPIRV
4
4
// RUN: llvm-spirv %t.bc -o %t.spv
You can’t perform that action at this time.
0 commit comments