[OPENMP50]Add if clause in teams distribute parallel for simd directive.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 11 Dec 2019 20:26:38 +0000 (15:26 -0500)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 11 Dec 2019 21:11:41 +0000 (16:11 -0500)
commit0b9789456b616863ab4dd045a977758f527bab8b
treeae1030fb5374bb3f23ad339cd8989b05558f7d9c
parent6e3b60625bfc5745f3b4382050ed6d66b43951bb
[OPENMP50]Add if clause in teams distribute parallel for simd directive.

According to OpenMP 5.0, if clause can be used in for simd directive. If
condition in the if clause if false, the non-vectorized version of the
loop must be executed.
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/teams_distribute_parallel_for_simd_ast_print.cpp
clang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
clang/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp