tra added a comment.

> 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.


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

Reply via email to