[clang] [clang] Fix OMPT ident flag in combined distribute parallel for pragma (PR #80987)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 6 08:26:25 PST 2024
================
@@ -2647,6 +2647,8 @@ void CGOpenMPRuntime::emitDistributeStaticInit(
void CGOpenMPRuntime::emitForStaticFinish(CodeGenFunction &CGF,
SourceLocation Loc,
OpenMPDirectiveKind DKind) {
+ assert(DKind == OMPD_distribute || DKind == OMPD_for ||
+ DKind == OMPD_sections);
----------------
alexey-bataev wrote:
Add assertion message
https://github.com/llvm/llvm-project/pull/80987
More information about the cfe-commits
mailing list