diff options
author | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-10-03 20:07:58 +0000 |
---|---|---|
committer | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-10-03 20:07:58 +0000 |
commit | 6bdf63bd329d1bb5e48acbb8f25ee0ea8fecd9e2 (patch) | |
tree | b2b2dd8c9d201279a4f4ed783c7a92b7b55eae59 /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | 703fbde3cbd7fdd000ad5af9f7055c50c2641441 (diff) | |
download | bcm5719-llvm-6bdf63bd329d1bb5e48acbb8f25ee0ea8fecd9e2.tar.gz bcm5719-llvm-6bdf63bd329d1bb5e48acbb8f25ee0ea8fecd9e2.zip |
[OPENMP] Add reverse_offload clause to requires directive
llvm-svn: 343711
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index 1f64e887bfe..7872a805cc3 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -3900,6 +3900,7 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_is_device_ptr: case OMPC_unified_address: case OMPC_unified_shared_memory: + case OMPC_reverse_offload: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } } |