|
44 | 44 | // RUN: | FileCheck -check-prefix=CHK-NO-FSYCL %s
|
45 | 45 | // RUN: %clang_cl -### -fsycl-targets=spir64-unknown-unknown-sycldevice %s 2>&1 \
|
46 | 46 | // RUN: | FileCheck -check-prefix=CHK-NO-FSYCL %s
|
47 |
| -// CHK-NO-FSYCL: error: The option -fsycl-targets must be used in conjunction with -fsycl to enable offloading. |
| 47 | +// CHK-NO-FSYCL: error: '-fsycl-targets' must be used in conjunction with '-fsycl' to enable offloading |
48 | 48 | // RUN: %clang -### -fsycl-link-targets=spir64-unknown-unknown-sycldevice %s 2>&1 \
|
49 | 49 | // RUN: | FileCheck -check-prefix=CHK-NO-FSYCL-LINK-TGTS %s
|
50 |
| -// CHK-NO-FSYCL-LINK-TGTS: error: The option -fsycl-link-targets must be used in conjunction with -fsycl to enable offloading. |
| 50 | +// CHK-NO-FSYCL-LINK-TGTS: error: '-fsycl-link-targets' must be used in conjunction with '-fsycl' to enable offloading |
51 | 51 | // RUN: %clang -### -fsycl-add-targets=spir64-unknown-unknown-sycldevice %s 2>&1 \
|
52 | 52 | // RUN: | FileCheck -check-prefix=CHK-NO-FSYCL-ADD %s
|
53 |
| -// CHK-NO-FSYCL-ADD: error: The option -fsycl-add-targets must be used in conjunction with -fsycl to enable offloading. |
| 53 | +// CHK-NO-FSYCL-ADD: error: '-fsycl-add-targets' must be used in conjunction with '-fsycl' to enable offloading |
54 | 54 | // RUN: %clang -### -fsycl-link %s 2>&1 \
|
55 | 55 | // RUN: | FileCheck -check-prefix=CHK-NO-FSYCL-LINK %s
|
56 |
| -// CHK-NO-FSYCL-LINK: error: The option -fsycl-link must be used in conjunction with -fsycl to enable offloading. |
| 56 | +// CHK-NO-FSYCL-LINK: error: '-fsycl-link' must be used in conjunction with '-fsycl' to enable offloading |
57 | 57 | // RUN: %clang -### -fintelfpga %s 2>&1 \
|
58 | 58 | // RUN: | FileCheck -check-prefix=CHK-NO-FSYCL-FINTELFPGA %s
|
59 |
| -// CHK-NO-FSYCL-FINTELFPGA: error: The option -fintelfpga must be used in conjunction with -fsycl to enable offloading. |
| 59 | +// CHK-NO-FSYCL-FINTELFPGA: error: '-fintelfpga' must be used in conjunction with '-fsycl' to enable offloading |
60 | 60 |
|
61 | 61 | /// ###########################################################################
|
62 | 62 |
|
|
142 | 142 | /// Check warning for duplicate offloading targets.
|
143 | 143 | // RUN: %clang -### -ccc-print-phases -fsycl -fsycl-targets=spir64-unknown-unknown-sycldevice,spir64-unknown-unknown-sycldevice %s 2>&1 \
|
144 | 144 | // RUN: | FileCheck -check-prefix=CHK-DUPLICATES %s
|
145 |
| -// CHK-DUPLICATES: warning: The SYCL offloading target 'spir64-unknown-unknown-sycldevice' is similar to target 'spir64-unknown-unknown-sycldevice' already specified - will be ignored. |
| 145 | +// CHK-DUPLICATES: warning: SYCL offloading target 'spir64-unknown-unknown-sycldevice' is similar to target 'spir64-unknown-unknown-sycldevice' already specified; will be ignored |
146 | 146 |
|
147 | 147 | /// ###########################################################################
|
148 | 148 |
|
|
916 | 916 | // RUN: %clangxx -### -c -fsycl -xc %s 2>&1 | FileCheck -check-prefixes=CHECK_XC_FSYCL %s
|
917 | 917 | // RUN: %clangxx -### -c -fsycl -xc-header %s 2>&1 | FileCheck -check-prefixes=CHECK_XC_FSYCL %s
|
918 | 918 | // RUN: %clangxx -### -c -fsycl -xcpp-output %s 2>&1 | FileCheck -check-prefixes=CHECK_XC_FSYCL %s
|
919 |
| -// CHECK_XC_FSYCL: The option '-x c{{.*}}' must not be used in conjunction with '-fsycl' |
| 919 | +// CHECK_XC_FSYCL: '-x c{{.*}}' must not be used in conjunction with '-fsycl' |
920 | 920 |
|
921 | 921 | // -std=c++17 check (check all 3 compilations)
|
922 | 922 | // RUN: %clangxx -### -c -fsycl -xc++ %s 2>&1 | FileCheck -check-prefix=CHECK-STD %s
|
|
0 commit comments