[PATCH] D154180: [OPENMP52] Codegen support for doacross clause.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 3 09:59:13 PDT 2023
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
More information about the cfe-commits
mailing list