================ @@ -5954,6 +5976,48 @@ void CGOpenMPRuntime::emitTaskwaitCall(CodeGenFunction &CGF, SourceLocation Loc, Region->emitUntiedSwitch(CGF); } +void CGOpenMPRuntime::emitTaskgraphCall(CodeGenFunction &CGF, + SourceLocation Loc, + const OMPExecutableDirective &D) { + if (!CGF.HaveInsertPoint()) + return; + + // Building kmp_taskgraph_flags_t flags for kmpc_taskgraph. C.f., kmp.h + enum { + NowaitFlag = 0x1, // Not used yet. + ReRecordFlag = 0x2, + }; + + unsigned Flags = 0; + + CodeGenFunction OutlinedCGF(CGM, true); ---------------- alexey-bataev wrote:
Add a comment with the name of the paramer for `true` argument https://github.com/llvm/llvm-project/pull/159774 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits