[PATCH] D125705: [OpenMP] Don't build the offloading driver without a source input

2022-05-17 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. In D125705#3519605 , @jhuber6 wrote: > In D125705#3519570 , @yaxunl wrote: > >> HIP toolchain allows clang driver to compile bundled bitcode or assembly for >> mixed host/device compilatio

[PATCH] D125705: [OpenMP] Don't build the offloading driver without a source input

2022-05-17 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 added a comment. In D125705#3519570 , @yaxunl wrote: > HIP toolchain allows clang driver to compile bundled bitcode or assembly for > mixed host/device compilation or device-only multi-GPU compilation. > > e.g. > > clang --offload-arch=gfx906 --o

[PATCH] D125705: [OpenMP] Don't build the offloading driver without a source input

2022-05-17 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. HIP toolchain allows clang driver to compile bundled bitcode or assembly for mixed host/device compilation or device-only multi-GPU compilation. e.g. clang --offload-arch=gfx906 --offload-arch=gfx908 a.bc b.s Can you add a test to make sure this does not break HIP toolc

[PATCH] D125705: [OpenMP] Don't build the offloading driver without a source input

2022-05-16 Thread Joseph Huber via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGb653b409ff44: [OpenMP] Don't build the offloading driver without a source input (authored by jhuber6). Changed prior to commit: https://reviews.ll

[PATCH] D125705: [OpenMP] Don't build the offloading driver without a source input

2022-05-16 Thread Johannes Doerfert via Phabricator via cfe-commits
jdoerfert accepted this revision. jdoerfert added a comment. This revision is now accepted and ready to land. LG Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D125705/new/ https://reviews.llvm.org/D125705 ___

[PATCH] D125705: [OpenMP] Don't build the offloading driver without a source input

2022-05-16 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 created this revision. jhuber6 added reviewers: jdoerfert, tianshilei1992, wsmoses. Herald added subscribers: guansong, yaxunl. Herald added a project: All. jhuber6 requested review of this revision. Herald added subscribers: cfe-commits, sstefan1, MaskRay. Herald added a project: clang. T