[all-commits] [llvm/llvm-project] 7003f7: [clang-sycl-linker] Replace llvm-link with API cal...

Arvind Sudarsanam via All-commits all-commits at lists.llvm.org
Tue Apr 1 10:10:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7003f7d23aeca97b0301e605ed8b02436b38f789
      https://github.com/llvm/llvm-project/commit/7003f7d23aeca97b0301e605ed8b02436b38f789
  Author: Arvind Sudarsanam <arvind.sudarsanam at intel.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    A clang/test/Driver/Inputs/SYCL/bar.ll
    A clang/test/Driver/Inputs/SYCL/baz.ll
    A clang/test/Driver/Inputs/SYCL/foo.ll
    A clang/test/Driver/Inputs/SYCL/libsycl.ll
    M clang/test/Driver/clang-sycl-linker-test.cpp
    A clang/test/Driver/link-device-code.test
    M clang/test/Driver/sycl-link-spirv-target.cpp
    M clang/tools/clang-sycl-linker/CMakeLists.txt
    M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
    M clang/tools/clang-sycl-linker/SYCLLinkOpts.td

  Log Message:
  -----------
  [clang-sycl-linker] Replace llvm-link with API calls (#133797)

This PR has the following changes:

Replace llvm-link with calls to linkInModule to link device files Add
-print-linked-module option to dump linked module for testing Added a
test to verify that linking is working as expected. We will eventually
move to using thin LTO for linking device inputs.

Thanks

---------

Signed-off-by: Arvind Sudarsanam <arvind.sudarsanam at intel.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list