[PATCH] D117049: [OpenMP] Add support for embedding bitcode images in wrapper tool

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 11 12:56:15 PST 2022


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, ronlieb, gregrodgers, JonChesterfield.
Herald added subscribers: ormris, dang, steven_wu, guansong, hiraditya, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1.
Herald added projects: clang, LLVM.

Summary;
This patch adds support for embedding device images via the
`fopenmp-target-jit` command to be used for JIT compilation. This is
used in conjunction with `-foffload-lto` to do bitcode linking and
embedding of the device image in the final executable rather than
creating an exectuable. This will be used for JIT in the future.

Depends on D117048 <https://reviews.llvm.org/D117048>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117049

Files:
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
  llvm/include/llvm/LTO/LTO.h
  llvm/lib/LTO/LTO.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117049.399051.patch
Type: text/x-patch
Size: 7531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220111/e8cfc43d/attachment-0001.bin>


More information about the cfe-commits mailing list