[OPENMP] Fix emission of the loop doacross constructs.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 13 Aug 2018 19:04:24 +0000 (19:04 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 13 Aug 2018 19:04:24 +0000 (19:04 +0000)
commitf138fda5edc21004de744ed354e9142b8c2ee109
tree4ac27ec6f84105423228f2ddcdba22bd528636c8
parent2da1ef5b9eb12043866b022bb7ea38c705e76d93
[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: 339603
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