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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits