[llvm] [mlir] [OpenMP][MLIR] Fix threadprivate lowering when compiling for target when target operations are in use (PR #119310)

Sergio Afonso via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 05:45:09 PST 2024


================
@@ -4090,6 +4100,14 @@ static bool isTargetDeviceOp(Operation *op) {
   if (op->getParentOfType<omp::TargetOp>())
     return true;
 
+  // Certain operations return results, and wether utilised in host or
----------------
skatrak wrote:

```suggestion
  // Certain operations return results, and whether utilised in host or
```

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


More information about the llvm-commits mailing list