[clang] clang/AMDGPU: Do not emit __oclc_ABI_version references with environment (PR #184868)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 5 12:01:28 PST 2026


================
@@ -89,6 +89,11 @@ Value *EmitAMDGPUWorkGroupSize(CodeGenFunction &CGF, unsigned Index) {
 
   auto Cov = CGF.getTarget().getTargetOpts().CodeObjectVersion;
 
+  // Do not emit __oclc_ABI_version references with non-empt environment.
----------------
arsenm wrote:

```suggestion
  // Do not emit __oclc_ABI_version references with non-empty environment.
```

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


More information about the cfe-commits mailing list