tianshilei1992 added a comment. In D98902#2635930 <https://reviews.llvm.org/D98902#2635930>, @tra wrote:
>> My question is, if DeviceOffloadingKind == Action::OFK_Cuda, and we use -S, >> do we also want to skip as well? > > I do not think so. Libdevice is needed to implement some libcalls that LLVM > currently does not know how to handle. > We do need it even when we compile with `-S`. It may work without it in many > cases, but it's still needed in general. Thanks for the answer. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D98902/new/ https://reviews.llvm.org/D98902 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits