================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to