[all-commits] [llvm/llvm-project] 411e81: [OPENMP50]Add if clause in target teams idistribut...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Dec 16 10:23:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 411e81a4e391d9e8195e4b2a0a62bc60582e298a
      https://github.com/llvm/llvm-project/commit/411e81a4e391d9e8195e4b2a0a62bc60582e298a
  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_simd_ast_print.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_if_messages.cpp

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