[all-commits] [llvm/llvm-project] 103f3c: [OPENMP50]Add if clause in for simd directive.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Nov 21 06:49:16 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 103f3c9e3b3ce663b5451e321e3800e09f851b8a
      https://github.com/llvm/llvm-project/commit/103f3c9e3b3ce663b5451e321e3800e09f851b8a
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2019-11-21 (Thu, 21 Nov 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/for_simd_ast_print.cpp
    M clang/test/OpenMP/for_simd_codegen.cpp
    A clang/test/OpenMP/for_simd_if_messages.cpp

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