[clang] Correctly link and optimize device libraries with -mlink-builtin-bitcode (PR #69371)

Jacob Lambert via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 12:31:47 PDT 2023


lamb-j wrote:

sincos() is just one example. There are several other cases that can trigger this issue. fold_rootn() generates new function calls for square and cubic roots, fold_pow() does a similar thing for specific powers (ex 2)

We did try disabling -llvm-prelink, and it did lead to a significant performance difference for a couple of key applications



https://github.com/llvm/llvm-project/pull/69371


More information about the cfe-commits mailing list