File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4444
4545// Check that llvm-link uses the "-only-needed" flag.
4646// Not using the flag breaks kernel bundles.
47- // RUN: %clangxx -### -nogpulib --sysroot=%S/Inputs/SYCL \
47+ // RUN: %clangxx -### -nogpulib -fno-sycl-libspirv - -sysroot=%S/Inputs/SYCL \
4848// RUN: -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend --offload-arch=gfx906 %s 2>&1 \
4949// RUN: | FileCheck -check-prefix=CHK-ONLY-NEEDED %s
5050
Original file line number Diff line number Diff line change 4444
4545// Check that llvm-link uses the "-only-needed" flag.
4646// Not using the flag breaks kernel bundles.
47- // RUN: %clangxx -### --sysroot=%S/Inputs/SYCL -fsycl -fsycl-targets=nvptx64-nvidia-cuda %s 2>&1 \
47+ // RUN: %clangxx -### -nocudalib -fno-sycl-libspirv - -sysroot=%S/Inputs/SYCL -fsycl -fsycl-targets=nvptx64-nvidia-cuda %s 2>&1 \
4848// RUN: | FileCheck -check-prefix=CHK-ONLY-NEEDED %s
4949
5050// CHK-ONLY-NEEDED: llvm-link"{{.*}}"-only-needed"{{.*}}"{{.*}}devicelib--cuda.bc"{{.*}}
You can’t perform that action at this time.
0 commit comments