[all-commits] [llvm/llvm-project] 0b9789: [OPENMP50]Add if clause in teams distribute parall...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Dec 11 13:15:33 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b9789456b616863ab4dd045a977758f527bab8b
      https://github.com/llvm/llvm-project/commit/0b9789456b616863ab4dd045a977758f527bab8b
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_ast_print.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list