[all-commits] [llvm/llvm-project] fd0c91: [OPENMP50]Add if clause in target teams distribute...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Dec 16 07:47:35 PST 2019


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

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_messages.cpp

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