Artem-B wrote: Given that the prevalent compilation for CUDA has no standard library whatsoever, preserving libcalls may break some existing users that may be relying on library call lowering to an intrinsic that *is* implemented by the back-end.
Perhaps this "no library call to intrinsic conversion" mode could be limited to the stand-alone compilation only, at least until we have a more granular control over whether particular library call is save to lower to an intrinsic? https://github.com/llvm/llvm-project/pull/98209 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits