[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
Sat Sep 5 08:21:53 PDT 2026


yxsamliu wrote:

@jhuber6 Re: COV module flag

We already have the `amdhsa_code_object_version` module flag, which seems like the right source for this. COV applies to the whole module, not each function. This should continue to work with existing COVs and device libraries. For COV-neutral bitcode, the linker wrapper or another post-link pass could read the merged module flag and provide the missing `__oclc_ABI_version` symbol.


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


More information about the Openmp-commits mailing list