diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2019-12-25 18:15:36 -0600 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2019-12-26 11:04:07 -0600 |
commit | 6c5d1f40ff8deb2c001736c5a5bc085322910ad1 (patch) | |
tree | 5eca2d38188bd86b27838dcfe319a2ee3870316d /clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | |
parent | c91bf72e2cd0ec164c36b464b5af645538000b04 (diff) | |
download | bcm5719-llvm-6c5d1f40ff8deb2c001736c5a5bc085322910ad1.tar.gz bcm5719-llvm-6c5d1f40ff8deb2c001736c5a5bc085322910ad1.zip |
[OpenMP][NFCI] Use the libFrontend ProcBindKind in Clang
This removes the OpenMPProcBindClauseKind enum in favor of
llvm::omp::ProcBindKind which lives in OpenMPConstants.h and was
introduced in D70109.
No change in behavior is expected.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D70289
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp index 71a0ee4e930..d00d84b79cf 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp @@ -1935,7 +1935,7 @@ CGOpenMPRuntimeNVPTX::CGOpenMPRuntimeNVPTX(CodeGenModule &CGM) } void CGOpenMPRuntimeNVPTX::emitProcBindClause(CodeGenFunction &CGF, - OpenMPProcBindClauseKind ProcBind, + ProcBindKind ProcBind, SourceLocation Loc) { // Do nothing in case of SPMD mode and L0 parallel. if (getExecutionMode() == CGOpenMPRuntimeNVPTX::EM_SPMD) |