wenju-he wrote: Applying weak attribute to a small set of libclc functions might be acceptable because libclc will eventually set linkage to linkonce_odr for all functions. The small set of libclc functions, that were not optimized by PostOrderFunctionAttrsPass during libclc build, will be optimized by the same pass after being linked into user code.
https://github.com/llvm/llvm-project/pull/156378 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits