Debian Codegraph @

clang/test/SemaOpenCL/arm-integer-dot-product.cl

raw
1 // RUN: %clang_cc1 %s -triple spir-unknown-unknown -finclude-default-header -fdeclare-opencl-builtins -verify -cl-std=CL1.2 -emit-llvm -o - -cl-ext=-all
2
3 void test_negative() {
4 uchar4 ua8, ub8;
5 char4 sa8, sb8;
6 ushort2 ua16, ub16;
7 short2 sa16, sb16;
8 uint ur;
9 int sr;
10 ur = arm_dot(ua8, ub8); // expected-error{{use of undeclared identifier 'arm_dot'}}
11 sr = arm_dot(sa8, sb8); // expected-error{{use of undeclared identifier 'arm_dot'}}
12 ur = arm_dot_acc(ua8, ub8, ur); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
13 sr = arm_dot_acc(sa8, sb8, sr); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
14 ur = arm_dot_acc(ua16, ub16, ur); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
15 sr = arm_dot_acc(sa16, sb16, sr); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
16 ur = arm_dot_acc_sat(ua8, ub8, ur); // expected-error{{use of undeclared identifier 'arm_dot_acc_sat'}}
17 sr = arm_dot_acc_sat(sa8, sb8, sr); // expected-error{{use of undeclared identifier 'arm_dot_acc_sat'}}
18 }
19