[clang] Pass -offload-lto instead of -lto for cuda/hip kernels (PR #125243)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 3 06:31:53 PST 2025


https://github.com/jhuber6 commented:

You can use `-flto` for the NVPTX target, https://godbolt.org/z/MYf6cc6e3.

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


More information about the cfe-commits mailing list