|
| 1 | +// INTEL_CUSTOMIZATION |
1 | 2 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown -ffp-builtin-accuracy=high \ |
2 | | -// RUN: -Wno-return-type -Wno-implicit-function-declaration -emit-llvm -o - %s \ |
| 3 | +// RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
| 4 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
3 | 5 | // RUN: | FileCheck --check-prefixes=CHECK %s |
4 | 6 |
|
5 | 7 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
6 | 8 | // RUN: "-ffp-builtin-accuracy=high:[acosf,cos,pow] low:[tan] medium:[sincos,log10]" \ |
7 | 9 | // RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
8 | | -// RUN: -emit-llvm -o - %s | FileCheck --check-prefix=CHECK-F1 %s |
| 10 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
| 11 | +// RUN: | FileCheck --check-prefix=CHECK-F1 %s |
9 | 12 |
|
10 | 13 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
11 | 14 | // RUN: "-ffp-builtin-accuracy=medium high:[tan] cuda:[cos]" \ |
12 | | -// RUN: -Wno-return-type -Wno-implicit-function-declaration -emit-llvm -o - %s \ |
| 15 | +// RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
| 16 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
13 | 17 | // RUN: | FileCheck --check-prefix=CHECK-F2 %s |
14 | 18 |
|
15 | 19 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
16 | 20 | // RUN: "-ffp-builtin-accuracy=high low:[tan] medium:[sincos,log10]" \ |
17 | | -// RUN: -Wno-return-type -Wno-implicit-function-declaration -emit-llvm -o - %s \ |
| 21 | +// RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
| 22 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
18 | 23 | // RUN: | FileCheck --check-prefix=CHECK-F3 %s |
19 | 24 |
|
20 | 25 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
21 | 26 | // RUN: "-ffp-builtin-accuracy=high:sin medium" -Wno-return-type \ |
22 | | -// RUN: -Wno-implicit-function-declaration -emit-llvm -o - %s \ |
23 | | -// RUN: | FileCheck --check-prefixes=CHECK-F4 %s |
| 27 | +// RUN: -Wno-implicit-function-declaration -Wno-incompatible-pointer-types \ |
| 28 | +// RUN: -emit-llvm -o - %s | FileCheck --check-prefixes=CHECK-F4 %s |
24 | 29 |
|
25 | 30 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
26 | 31 | // RUN: "-ffp-builtin-accuracy=medium:[sin,cos] high:[sin,tan]" \ |
27 | 32 | // RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
28 | | -// RUN: -emit-llvm -o - %s | FileCheck --check-prefixes=CHECK-F5 %s |
| 33 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
| 34 | +// RUN: | FileCheck --check-prefixes=CHECK-F5 %s |
29 | 35 |
|
30 | 36 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
31 | 37 | // RUN: "-ffp-builtin-accuracy=medium high:[sin,atan] low:[atan2]" \ |
32 | 38 | // RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
33 | | -// RUN: -emit-llvm -o - %s | FileCheck --check-prefixes=CHECK-F6 %s |
| 39 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
| 40 | +// RUN: | FileCheck --check-prefixes=CHECK-F6 %s |
34 | 41 |
|
35 | 42 | // RUN: %clang_cc1 -triple spir64-unknown-unknown -ffp-builtin-accuracy=sycl \ |
36 | 43 | // RUN: -D SPIR -Wno-implicit-function-declaration -emit-llvm -o - %s \ |
37 | 44 | // RUN: | FileCheck --check-prefix=CHECK-SPIR %s |
38 | 45 |
|
39 | 46 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
40 | 47 | // RUN: "-ffp-builtin-accuracy=default:[acosf,cos,pow]" \ |
41 | | -// RUN: -Wno-return-type -Wno-implicit-function-declaration -emit-llvm -o - %s \ |
| 48 | +// RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
| 49 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
42 | 50 | // RUN: | FileCheck --check-prefixes=CHECK-DEFAULT %s |
43 | 51 |
|
44 | 52 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ |
45 | | -// RUN: -Wno-return-type -Wno-implicit-function-declaration -emit-llvm -o - %s \ |
| 53 | +// RUN: -Wno-return-type -Wno-implicit-function-declaration \ |
| 54 | +// RUN: -Wno-incompatible-pointer-types -emit-llvm -o - %s \ |
46 | 55 | // RUN: | FileCheck --check-prefixes=CHECK-DEFAULT %s |
47 | | - |
| 56 | +// end INTEL_CUSTOMIZATION |
48 | 57 | #ifdef SPIR |
49 | 58 | // This is a declaration when compiling with -fsycl to avoid |
50 | 59 | // the compilation error "function with no prototype cannot use |
|
0 commit comments