Skip to content

Commit 28fc4d6

Browse files
authored
[NFC] 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]>
1 parent 8e8c02c commit 28fc4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)