[flang-commits] [flang] [llvm] [mlir] [Flang][OpenMP] Implement DEPEND clause for TASKWAIT directive (PR #193568)
Phoebe Linck via flang-commits
flang-commits at lists.llvm.org
Mon Jun 8 10:56:32 PDT 2026
================
@@ -3482,7 +3479,15 @@ convertOmpTaskwaitOp(omp::TaskwaitOp twOp, llvm::IRBuilderBase &builder,
if (failed(checkImplementationStatus(*twOp)))
return failure();
- moduleTranslation.getOpenMPBuilder()->createTaskwait(builder.saveIP());
+ llvm::OpenMPIRBuilder::DependenciesInfo dds;
+ if (failed(buildDependData(
+ twOp.getDependVars(), twOp.getDependKinds(), twOp.getDependIterated(),
+ twOp.getDependIteratedKinds(), builder, moduleTranslation, dds))) {
+ return failure();
+ }
+
+ moduleTranslation.getOpenMPBuilder()->createTaskwait(builder.saveIP(),
+ dds.Deps);
----------------
phi-bee wrote:
TY, this should be resolved now.
https://github.com/llvm/llvm-project/pull/193568
More information about the flang-commits
mailing list