[Openmp-commits] [PATCH] D118399: [OpenMP] Introduce new flag to indicate OpenMP runtime compilation

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 27 12:43:12 PST 2022


jhuber6 added a comment.

In D118399#3277222 <https://reviews.llvm.org/D118399#3277222>, @jhuber6 wrote:

> In D118399#3277221 <https://reviews.llvm.org/D118399#3277221>, @tianshilei1992 wrote:
>
>> Do we have an alternative w/o need to add a flag dedicated for building a very specific target, OpenMP device runtime?
>
> The only difference between building the OpenMP device runtime and user code is that we have `-mlink-builtin-bitcode=bclib` in the latter case. We could parse that but I felt like this is clearer.

Actually I believe we might be able to just check for bitcode library input as well, since that's already forwarded to codegen from an existing flag that we only pass for host compilations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118399



More information about the Openmp-commits mailing list