[Mlir-commits] [mlir] [mlir][OpenMP] Don't allow firstprivate for simd (PR #146734)

Sergio Afonso llvmlistbot at llvm.org
Fri Jul 4 02:38:40 PDT 2025


================
@@ -2894,7 +2894,8 @@ convertOmpSimd(Operation &opInst, llvm::IRBuilderBase &builder,
           .failed())
     return failure();
 
-  // TODO: no call to copyFirstPrivateVars?
+  // No call to copyFirstPrivateVars because FIRSTPRIVATE is not allowed for
+  // SIMD
----------------
skatrak wrote:

```suggestion
  // SIMD.
```

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


More information about the Mlir-commits mailing list