[OPENMP] Fix directive kind on stand-alone target data directives, NFC.

llvm-svn: 322112
This commit is contained in:
Alexey Bataev 2018-01-09 19:59:25 +00:00
parent e70ececad0
commit 768f1f219c
1 changed files with 1 additions and 1 deletions

View File

@ -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)