jyu2 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(),
----------------
ABataev wrote:
> Add a message, please
Added. Thanks for the review.
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.h:2279
+public:
+ bool isSink(const T *) { return false; }
+};
----------------
ABataev wrote:
> Add isSOurce
Opps.. Sorry. Added. Thanks!!! Jennifer
================
Comment at: clang/lib/CodeGen/CGStmtOpenMP.cpp:5860-5862
+ bool IsDependSource = false;
+ if (ODK.isSource(C))
+ IsDependSource = true;
----------------
ABataev wrote:
> bool IsDependSource = ODK.isSource(C);
Thanks. Changed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154180/new/
https://reviews.llvm.org/D154180
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits