[Openmp-commits] [clang] [compiler-rt] [openmp] [Clang] Do not emit `__oclc_abi_version` edge for non-OpenCL (PR #221235)

Yaxun Liu via Openmp-commits openmp-commits at lists.llvm.org
Fri Sep 4 21:00:52 PDT 2026


yxsamliu wrote:

It looks like the ABI bitcode is internalized before the profile runtime is added. Could we also pass the selected ABI bitcode to the final linker-wrapper device link?

`-mcode-object-version=none` is a contract that the bitcode remains COV-neutral until the final link. Assuming the COV5+ layout works today, but a future COV may change it. Resolving the ABI symbol at the final link would preserve this contract and let generic bitcode use ABI-dependent device-library functions.


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


More information about the Openmp-commits mailing list