[PATCH] D141158: [OpenMP] Introduce '-f[no]-openmp-target-jit' flag to control JIT for offloading

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 6 13:39:15 PST 2023


jhuber6 added inline comments.


================
Comment at: clang/lib/Driver/Driver.cpp:730
+                         ? LTOK_Full
+                         : OffloadLTOMode;
 }
----------------
jdoerfert wrote:
> Should we overwrite unconditionally or warn/error if the combination is nonsensical?
Yeah, we might need something like that. Like if the user specifies `thin` then the monolithic linking won't work. Probably will need a check for that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141158/new/

https://reviews.llvm.org/D141158



More information about the cfe-commits mailing list