[all-commits] [llvm/llvm-project] 779a18: [OPENMP50]Add if clause in distribute simd directive.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Dec 6 12:15:53 PST 2019


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

  Changed paths:
    M clang/include/clang/Basic/OpenMPKinds.def
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/distribute_simd_ast_print.cpp
    M clang/test/OpenMP/distribute_simd_codegen.cpp
    A clang/test/OpenMP/distribute_simd_if_messages.cpp

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