[Openmp-commits] [PATCH] D130266: [Libomptarget] Build the device library even if the sm list is empty
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jul 21 07:29:44 PDT 2022
jhuber6 added a comment.
In D130266#3668795 <https://reviews.llvm.org/D130266#3668795>, @tianshilei1992 wrote:
> Does it affect the option that we can build bc lib for one arch but not for another, like I just would like to build AMD bc lib? We can't assume the LLVM/Clang used for the compilation supports all arch.
If the lists are empty, the for loops setting the architecture won't generate any code right. For the static library it won't get embedded in the binary either.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130266/new/
https://reviews.llvm.org/D130266
More information about the Openmp-commits
mailing list