|
25 | 25 |
|
26 | 26 | /// Check phases w/out specifying a compute capability. |
27 | 27 | // RUN: %clangxx -ccc-print-phases -std=c++11 -target x86_64-unknown-linux-gnu -fsycl \ |
28 | | -// RUN: -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend --offload-arch=gfx906 %s 2>&1 \ |
| 28 | +// RUN: -fsycl-targets=amdgcn-amd-amdhsa -fsycl-device-lib=all -Xsycl-target-backend --offload-arch=gfx906 %s 2>&1 \ |
29 | 29 | // RUN: | FileCheck -check-prefix=CHK-PHASES-NO-CC %s |
30 | 30 | // CHK-PHASES-NO-CC: 0: input, "{{.*}}", c++, (host-sycl) |
31 | 31 | // CHK-PHASES-NO-CC: 1: preprocessor, {0}, c++-cpp-output, (host-sycl) |
|
37 | 37 | // CHK-PHASES-NO-CC: 7: backend, {6}, assembler, (host-sycl) |
38 | 38 | // CHK-PHASES-NO-CC: 8: assembler, {7}, object, (host-sycl) |
39 | 39 | // CHK-PHASES-NO-CC: 9: linker, {4}, ir, (device-sycl, gfx906) |
40 | | -// CHK-PHASES-NO-CC: 10: sycl-post-link, {9}, ir, (device-sycl, gfx906) |
41 | | -// CHK-PHASES-NO-CC: 11: file-table-tform, {10}, ir, (device-sycl, gfx906) |
42 | | -// CHK-PHASES-NO-CC: 12: backend, {11}, assembler, (device-sycl, gfx906) |
43 | | -// CHK-PHASES-NO-CC: 13: assembler, {12}, object, (device-sycl, gfx906) |
44 | | -// CHK-PHASES-NO-CC: 14: linker, {13}, image, (device-sycl, gfx906) |
45 | | -// CHK-PHASES-NO-CC: 15: linker, {14}, hip-fatbin, (device-sycl, gfx906) |
46 | | -// CHK-PHASES-NO-CC: 16: foreach, {11, 15}, hip-fatbin, (device-sycl, gfx906) |
47 | | -// CHK-PHASES-NO-CC: 17: file-table-tform, {10, 16}, tempfiletable, (device-sycl, gfx906) |
48 | | -// CHK-PHASES-NO-CC: 18: clang-offload-wrapper, {17}, object, (device-sycl, gfx906) |
49 | | -// CHK-PHASES-NO-CC: 19: offload, "device-sycl (amdgcn-amd-amdhsa:gfx906)" {18}, object |
50 | | -// CHK-PHASES-NO-CC: 20: linker, {8, 19}, image, (host-sycl) |
| 40 | +// CHK-PHASES-NO-CC: 10: input, "{{.*}}devicelib--amd.bc", ir, (device-sycl, gfx906) |
| 41 | +// CHK-PHASES-NO-CC: 11: linker, {9, 10}, ir, (device-sycl, gfx906) |
| 42 | +// CHK-PHASES-NO-CC: 12: sycl-post-link, {11}, ir, (device-sycl, gfx906) |
| 43 | +// CHK-PHASES-NO-CC: 13: file-table-tform, {12}, ir, (device-sycl, gfx906) |
| 44 | +// CHK-PHASES-NO-CC: 14: backend, {13}, assembler, (device-sycl, gfx906) |
| 45 | +// CHK-PHASES-NO-CC: 15: assembler, {14}, object, (device-sycl, gfx906) |
| 46 | +// CHK-PHASES-NO-CC: 16: linker, {15}, image, (device-sycl, gfx906) |
| 47 | +// CHK-PHASES-NO-CC: 17: linker, {16}, hip-fatbin, (device-sycl, gfx906) |
| 48 | +// CHK-PHASES-NO-CC: 18: foreach, {13, 17}, hip-fatbin, (device-sycl, gfx906) |
| 49 | +// CHK-PHASES-NO-CC: 19: file-table-tform, {12, 18}, tempfiletable, (device-sycl, gfx906) |
| 50 | +// CHK-PHASES-NO-CC: 20: clang-offload-wrapper, {19}, object, (device-sycl, gfx906) |
| 51 | +// CHK-PHASES-NO-CC: 21: offload, "device-sycl (amdgcn-amd-amdhsa:gfx906)" {20}, object |
| 52 | +// CHK-PHASES-NO-CC: 22: linker, {8, 21}, image, (host-sycl) |
51 | 53 |
|
52 | 54 | /// Check that we only unbundle an archive once. |
53 | 55 | // RUN: %clangxx -### -target x86_64-unknown-linux-gnu -fsycl -nogpulib \ |
|
0 commit comments