[clang] [compiler-rt] [libc] [libcxx] [llvm] [AMDGPU] Fix code object version not being set to 'none' (PR #135036)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 02:59:25 PDT 2025
================
@@ -62,7 +62,7 @@ Value *EmitAMDGPUWorkGroupSize(CodeGenFunction &CGF, unsigned Index) {
auto Cov = CGF.getTarget().getTargetOpts().CodeObjectVersion;
- if (Cov == CodeObjectVersionKind::COV_None) {
+ if (Cov == CodeObjectVersionKind::COV_None && !CGF.getLangOpts().OpenMP) {
----------------
arsenm wrote:
What is the linking issue exactly? This is here to prevent you from linking incompatible builds
https://github.com/llvm/llvm-project/pull/135036
More information about the cfe-commits
mailing list