forked from OSchip/llvm-project
[OPENMP] Fix directive kind on stand-alone target data directives, NFC.
llvm-svn: 322112
This commit is contained in:
parent
e70ececad0
commit
768f1f219c
|
@ -7662,7 +7662,7 @@ void CGOpenMPRuntime::emitTargetDataStandAloneCall(
|
|||
if (D.hasClausesOfKind<OMPDependClause>())
|
||||
CGF.EmitOMPTargetTaskBasedDirective(D, ThenGen, InputInfo);
|
||||
else
|
||||
emitInlinedDirective(CGF, OMPD_target_update, ThenGen);
|
||||
emitInlinedDirective(CGF, D.getDirectiveKind(), ThenGen);
|
||||
};
|
||||
|
||||
if (IfCond)
|
||||
|
|
Loading…
Reference in New Issue