Skip to content

Commit 7627dc7

Browse files
MrSidimssys-ce-bb
authored andcommitted
Pass -Wno-error=incompatible-pointer-types to a test (#3352)
InvalidAtomicBuiltins.cl requires an update after llvm/llvm-project#157364 Signed-off-by: Sidorov, Dmitry <[email protected]> Original commit: KhronosGroup/SPIRV-LLVM-Translator@28fc4d6306e812c
1 parent 86340d5 commit 7627dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm-spirv/test/negative/InvalidAtomicBuiltins.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Check that translator doesn't generate atomic instructions for atomic builtins
22
// which are not defined in the spec.
33

4-
// RUN: %clang_cc1 -triple spir -O1 -cl-std=cl2.0 -fdeclare-opencl-builtins -finclude-default-header %s -emit-llvm-bc -o %t.bc
4+
// RUN: %clang_cc1 -Wno-error=incompatible-pointer-types -triple spir -O1 -cl-std=cl2.0 -fdeclare-opencl-builtins -finclude-default-header %s -emit-llvm-bc -o %t.bc
55
// RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s
66
// RUN: llvm-spirv %t.bc -o %t.spv
77
// RUN: spirv-val %t.spv

0 commit comments

Comments
 (0)