|
82 | 82 | /// -fintelfpga -fsycl-link from source
|
83 | 83 | // RUN: touch %t.cpp
|
84 | 84 | // RUN: %clang++ -### -target x86_64-unknown-linux-gnu -fsycl -fintelfpga -fsycl-link=early %t.cpp -ccc-print-phases 2>&1 \
|
85 |
| -// RUN: | FileCheck -check-prefixes=CHK-FPGA-LINK-SRC %s |
| 85 | +// RUN: | FileCheck -check-prefixes=CHK-FPGA-LINK-SRC,CHK-FPGA-LINK-SRC-DEFAULT %s |
| 86 | +// RUN: %clang_cl -### -target x86_64-unknown-linux-gnu -fsycl -fintelfpga -fsycl-link=early %t.cpp -ccc-print-phases 2>&1 \ |
| 87 | +// RUN: | FileCheck -check-prefixes=CHK-FPGA-LINK-SRC,CHK-FPGA-LINK-SRC-CL %s |
86 | 88 | // CHK-FPGA-LINK-SRC: 0: input, "[[INPUT:.+\.cpp]]", c++, (host-sycl)
|
87 | 89 | // CHK-FPGA-LINK-SRC: 1: preprocessor, {0}, c++-cpp-output, (host-sycl)
|
88 | 90 | // CHK-FPGA-LINK-SRC: 2: input, "[[INPUT]]", c++, (device-sycl)
|
89 | 91 | // CHK-FPGA-LINK-SRC: 3: preprocessor, {2}, c++-cpp-output, (device-sycl)
|
90 | 92 | // CHK-FPGA-LINK-SRC: 4: compiler, {3}, sycl-header, (device-sycl)
|
91 |
| -// CHK-FPGA-LINK-SRC: 5: offload, "host-sycl (x86_64-unknown-linux-gnu)" {1}, "device-sycl (spir64_fpga-unknown-{{linux|windows}}-sycldevice)" {4}, c++-cpp-output |
| 93 | +// CHK-FPGA-LINK-SRC-DEFAULT: 5: offload, "host-sycl (x86_64-unknown-linux-gnu)" {1}, "device-sycl (spir64_fpga-unknown-{{linux|windows}}-sycldevice)" {4}, c++-cpp-output |
| 94 | +// CHK-FPGA-LINK-SRC-CL: 5: offload, "host-sycl (x86_64-pc-windows-msvc)" {1}, "device-sycl (spir64_fpga-unknown-{{linux|windows}}-sycldevice-coff)" {4}, c++-cpp-output |
92 | 95 | // CHK-FPGA-LINK-SRC: 6: compiler, {5}, ir, (host-sycl)
|
93 | 96 | // CHK-FPGA-LINK-SRC: 7: backend, {6}, assembler, (host-sycl)
|
94 | 97 | // CHK-FPGA-LINK-SRC: 8: assembler, {7}, object, (host-sycl)
|
|
99 | 102 | // CHK-FPGA-LINK-SRC: 13: linker, {12}, spirv, (device-sycl)
|
100 | 103 | // CHK-FPGA-LINK-SRC: 14: backend-compiler, {13}, fpga-aocr, (device-sycl)
|
101 | 104 | // CHK-FPGA-LINK-SRC: 15: clang-offload-wrapper, {14}, object, (device-sycl)
|
102 |
| -// CHK-FPGA-LINK-SRC: 16: offload, "host-sycl (x86_64-unknown-linux-gnu)" {9}, "device-sycl (spir64_fpga-unknown-{{linux|windows}}-sycldevice)" {15}, archive |
| 105 | +// CHK-FPGA-LINK-SRC-DEFAULT: 16: offload, "host-sycl (x86_64-unknown-linux-gnu)" {9}, "device-sycl (spir64_fpga-unknown-{{linux|windows}}-sycldevice)" {15}, archive |
| 106 | +// CHK-FPGA-LINK-SRC-CL: 16: offload, "host-sycl (x86_64-pc-windows-msvc)" {9}, "device-sycl (spir64_fpga-unknown-{{linux|windows}}-sycldevice-coff)" {15}, archive |
103 | 107 |
|
104 | 108 | /// -fintelfpga with -reuse-exe=
|
105 | 109 | // RUN: touch %t.cpp
|
|
0 commit comments