[all-commits] [llvm/llvm-project] 7b774b: [OPENMP50]Add if clause in teams distribute simd d...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Dec 11 09:36:10 PST 2019


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

  Changed paths:
    M clang/include/clang/Basic/OpenMPKinds.def
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/teams_distribute_simd_ast_print.cpp
    M clang/test/OpenMP/teams_distribute_simd_codegen.cpp
    A clang/test/OpenMP/teams_distribute_simd_if_messages.cpp

  Log Message:
  -----------
  [OPENMP50]Add if clause in teams distribute 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