We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86340d5 commit 7627dc7Copy full SHA for 7627dc7
llvm-spirv/test/negative/InvalidAtomicBuiltins.cl
@@ -1,7 +1,7 @@
1
// Check that translator doesn't generate atomic instructions for atomic builtins
2
// which are not defined in the spec.
3
4
-// RUN: %clang_cc1 -triple spir -O1 -cl-std=cl2.0 -fdeclare-opencl-builtins -finclude-default-header %s -emit-llvm-bc -o %t.bc
+// 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
5
// RUN: llvm-spirv %t.bc -spirv-text -o - | FileCheck %s
6
// RUN: llvm-spirv %t.bc -o %t.spv
7
// RUN: spirv-val %t.spv
0 commit comments