[all-commits] [llvm/llvm-project] f5f746: [OpenMP] Introduce '-f[no-]openmp-target-jit' flag...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Jan 6 18:01:57 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5f746f1efd45a6e9ed8ca9be26e8c01c5aa00b1
https://github.com/llvm/llvm-project/commit/f5f746f1efd45a6e9ed8ca9be26e8c01c5aa00b1
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/Driver/openmp-offload-jit.c
Log Message:
-----------
[OpenMP] Introduce '-f[no-]openmp-target-jit' flag to control JIT for offloading
JIT support for OpenMP offloading was introduced in D139287. This patch
adds a simple flag that enables this mode. It simply requires enabling
`-foffload-lto` mode and `--embed-bitcode` in the linker wrapper. This
option implies LTO if it is not enabled.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D141158
More information about the All-commits
mailing list