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

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 27 12:26:19 PST 2022


jhuber6 added a comment.

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.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118399



More information about the cfe-commits mailing list