[Openmp-commits] [clang] [compiler-rt] [openmp] [Clang] Do not emit `__oclc_abi_version` edge for non-OpenCL (PR #221235)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Fri Sep 4 08:34:40 PDT 2026
jhuber6 wrote:
> This shouldn't be language dependent, this was never an OpenCL specific thing. And it does work?
It's language dependent because the only user is the ROCm DLs, which is OpenCL and also the ones that defines it. It should work, like I said, OpenMP has just been hard-coding this as COV5 for over a year. So, the only regression would be someone manually doing `-mcode-object-version=4` on some code, but OpenMP would've been broken there already and the newer PGO stuff was added well into COV6 already being the default. This thing's existence is a massive headache and we end up just hacking around it to remove COV4 anyways.
https://github.com/llvm/llvm-project/pull/221235
More information about the Openmp-commits
mailing list