[PATCH] D154180: [OPENMP52] Codegen support for doacross clause.
Jennifer Yu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 3 10:30:18 PDT 2023
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
More information about the cfe-commits
mailing list