diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-09 19:59:25 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-09 19:59:25 +0000 |
| commit | 768f1f219c611de901c691f36656b7f2bac3ef82 (patch) | |
| tree | 9811ab0f6bea8484b26dad973bd2f418d9e8de61 /clang | |
| parent | e70ececad0aa0fdff590b4fd38ea7fafbae0f2db (diff) | |
| download | bcm5719-llvm-768f1f219c611de901c691f36656b7f2bac3ef82.tar.gz bcm5719-llvm-768f1f219c611de901c691f36656b7f2bac3ef82.zip | |
[OPENMP] Fix directive kind on stand-alone target data directives, NFC.
llvm-svn: 322112
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index 5487ee26c4a..d2ccb33bc2a 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -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) |

