[OPENMP] Fix emission of the loop doacross constructs.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 13 Aug 2018 14:05:43 +0000 (14:05 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 13 Aug 2018 14:05:43 +0000 (14:05 +0000)
commit0ce6360e0efdf12fbecc5a931a43449091e6f5f0
tree087ec9e72ccfa67300ffe8f9f80f3b208220ba7c
parent8d4a6615e17fec9555e44f5ece87fc75900e25d2
[OPENMP] Fix emission of the loop doacross constructs.

The number of loops associated with the OpenMP loop constructs should
not be considered as the number loops to collapse.

llvm-svn: 339568
clang/include/clang/AST/OpenMPClause.h
clang/lib/AST/OpenMPClause.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/test/OpenMP/ordered_doacross_codegen.c
clang/test/OpenMP/ordered_doacross_codegen.cpp
clang/test/OpenMP/parallel_for_simd_ast_print.cpp