[all-commits] [llvm/llvm-project] 372386: [OpenMP] Fix file arguments for embedding bitcode ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue May 24 10:46:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3723868d9e07de5d4a7468a4c2c74fc8517afc14
      https://github.com/llvm/llvm-project/commit/3723868d9e07de5d4a7468a4c2c74fc8517afc14
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [OpenMP] Fix file arguments for embedding bitcode in the linker wrapper

Summary:
The linker wrapper supports embedding bitcode images instead of linked
device images to facilitate JIT in the device runtime. However, we were
incorrectly passing in the file twice when this option was set. This
patch makes sure we only use the intermediate result of the LTO pass and
don't add the final output to the full job.

In the future we will want to add both of these andle handle that
accoridngly to allow the runtime to either use the AoT compiled version
or JIT compile the bitcode version if availible.




More information about the All-commits mailing list