[OPENMP]Allow cancellation constructs in target parallel regions.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 27 Apr 2020 15:37:35 +0000 (11:37 -0400)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 30 Apr 2020 19:10:52 +0000 (15:10 -0400)
commitb737b814feea66379f026550d088fafcd46cb3d2
tree94916d006dd642b36475c98d2005b9df6c42ce78
parent245cbd15a49e57c6090254f5e114c80f796dc05c
[OPENMP]Allow cancellation constructs in target parallel regions.

Summary:
omp cancellation point parallel and omp cancel parallel directives are
allowed in target paralle regions.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, caomhin, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78941
clang/include/clang/AST/StmtOpenMP.h
clang/lib/AST/StmtOpenMP.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/test/OpenMP/target_parallel_ast_print.cpp
clang/test/OpenMP/target_parallel_codegen.cpp
clang/test/OpenMP/target_parallel_messages.cpp