ABataev added inline comments.
================ Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:11410 } else { - assert(C->getDependencyKind() == OMPC_DEPEND_sink); + assert(ODK.isSink(C)); RTLFn = OMPBuilder.getOrCreateRuntimeFunction(CGM.getModule(), ---------------- Add a message, please ================ Comment at: clang/lib/CodeGen/CGOpenMPRuntime.h:2279 +public: + bool isSink(const T *) { return false; } +}; ---------------- Add isSOurce ================ Comment at: clang/lib/CodeGen/CGStmtOpenMP.cpp:5860-5862 + bool IsDependSource = false; + if (ODK.isSource(C)) + IsDependSource = true; ---------------- bool IsDependSource = ODK.isSource(C); Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154180/new/ https://reviews.llvm.org/D154180 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits