diff --git a/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp b/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp index eede563e9255b..5037fedcb5fcc 100644 --- a/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp +++ b/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp @@ -1546,7 +1546,7 @@ Expected clang(ArrayRef InputFiles, const ArgList &Args, CmdArgs.push_back("-Wl,--no-undefined"); if (IsSYCLKind && Triple.isNVPTX()) - CmdArgs.push_back("-Wl,--lto-emit-asm"); + CmdArgs.push_back("-S"); for (StringRef InputFile : InputFiles) CmdArgs.push_back(InputFile); diff --git a/sycl/test-e2e/NewOffloadDriver/multisource.cpp b/sycl/test-e2e/NewOffloadDriver/multisource.cpp index cc3502286c022..910dc824b2dc2 100644 --- a/sycl/test-e2e/NewOffloadDriver/multisource.cpp +++ b/sycl/test-e2e/NewOffloadDriver/multisource.cpp @@ -5,8 +5,6 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// UNSUPPORTED: true -// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17812 // Separate kernel sources and host code sources // Test with `--offload-new-driver` // RUN: %{build} --offload-new-driver -c -o %t.kernel.o -DINIT_KERNEL -DCALC_KERNEL diff --git a/sycl/test-e2e/NewOffloadDriver/split-per-source-main.cpp b/sycl/test-e2e/NewOffloadDriver/split-per-source-main.cpp index 68ac8fa61e36c..fc08e94aee467 100644 --- a/sycl/test-e2e/NewOffloadDriver/split-per-source-main.cpp +++ b/sycl/test-e2e/NewOffloadDriver/split-per-source-main.cpp @@ -1,5 +1,3 @@ -// UNSUPPORTED: true -// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17812 // RUN: %{build} -Wno-error=unused-command-line-argument -fsycl-device-code-split=per_source -I %S/Inputs -o %t.out %S/Inputs/split-per-source-second-file.cpp \ // RUN: --offload-new-driver -fsycl-dead-args-optimization // RUN: %{run} %t.out diff --git a/sycl/test-e2e/NewOffloadDriver/sycl-external-with-optional-features.cpp b/sycl/test-e2e/NewOffloadDriver/sycl-external-with-optional-features.cpp index d21b78e6855d3..f8d24720fca7a 100644 --- a/sycl/test-e2e/NewOffloadDriver/sycl-external-with-optional-features.cpp +++ b/sycl/test-e2e/NewOffloadDriver/sycl-external-with-optional-features.cpp @@ -1,5 +1,3 @@ -// UNSUPPORTED: true -// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17812 // Test with `--offload-new-driver` // RUN: %{build} -DSOURCE1 --offload-new-driver -c -o %t1.o // RUN: %{build} -DSOURCE2 --offload-new-driver -c -o %t2.o