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

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Nov 19 12:58:47 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d08c056695a59fb1cfc7ccc9a2784bb9a6514551
      https://github.com/llvm/llvm-project/commit/d08c056695a59fb1cfc7ccc9a2784bb9a6514551
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchers.h
    M clang/include/clang/Basic/OpenMPKinds.def
    M clang/include/clang/Basic/OpenMPKinds.h
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/simd_ast_print.cpp
    M clang/test/OpenMP/simd_codegen.cpp
    A clang/test/OpenMP/simd_if_messages.cpp

  Log Message:
  -----------
  [OPENMP50]Add if clause in simd directive.

According to OpenMP 5.0, if clause can be used in 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