kpyzhov added a comment. In D115283#3180836 <https://reviews.llvm.org/D115283#3180836>, @yaxunl wrote:
> If we only need to check whether `__ockl_hostcall_internal` exists in the > final module in LLVM codegen to determine whether we need the hostcall > metadata, probably we don't even need a function attribute or even module > flag. Right, we used to do exactly that, but then it turned out that it does not work with -fgpu-rdc since IPO may rename the __ockl_hostcall_internal(). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D115283/new/ https://reviews.llvm.org/D115283 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits