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

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 08:58:35 PDT 2022


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 toolchain? Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125705



More information about the cfe-commits mailing list