forked from OSchip/llvm-project
parent
8f174dde92
commit
3a03a7f636
|
@ -4274,7 +4274,7 @@ CGOpenMPRuntime::emitTaskInit(CodeGenFunction &CGF, SourceLocation Loc,
|
|||
CGM, D.getDirectiveKind(), KmpInt32Ty, KmpRoutineEntryPtrQTy));
|
||||
}
|
||||
KmpTaskTQTy = SavedKmpTaskloopTQTy;
|
||||
} else if (D.getDirectiveKind() == OMPD_task) {
|
||||
} else {
|
||||
assert(D.getDirectiveKind() == OMPD_task &&
|
||||
"Expected taskloop or task directive");
|
||||
if (SavedKmpTaskTQTy.isNull()) {
|
||||
|
|
Loading…
Reference in New Issue