summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmtOpenMP.cpp
diff options
context:
space:
mode:
authorPatrick Lyster <Patrick.lyster@ibm.com>2018-10-03 20:07:58 +0000
committerPatrick Lyster <Patrick.lyster@ibm.com>2018-10-03 20:07:58 +0000
commit6bdf63bd329d1bb5e48acbb8f25ee0ea8fecd9e2 (patch)
treeb2b2dd8c9d201279a4f4ed783c7a92b7b55eae59 /clang/lib/CodeGen/CGStmtOpenMP.cpp
parent703fbde3cbd7fdd000ad5af9f7055c50c2641441 (diff)
downloadbcm5719-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.cpp1
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'.");
}
}
OpenPOWER on IntegriCloud