[Mlir-commits] [llvm] [mlir] [flang][OpenMP] Support `target enter|update|exit .. nowait` (PR #113305)

Michael Kruse llvmlistbot at llvm.org
Tue Oct 22 06:00:08 PDT 2024


================
@@ -2905,9 +2907,9 @@ convertOmpTargetData(Operation *op, llvm::IRBuilderBase &builder,
             return success();
           })
           .Case([&](omp::TargetEnterDataOp enterDataOp) {
-            if (enterDataOp.getNowait())
+            if (!enterDataOp.getDependVars().empty())
----------------
Meinersbur wrote:

Handling of `depend` looks unrelated to handling `nowait`. Since it reuses code, I don't mind in this case.

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


More information about the Mlir-commits mailing list