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

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Dec 10 12:36:42 PST 2019


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

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/target_simd_ast_print.cpp
    M clang/test/OpenMP/target_simd_codegen.cpp
    M clang/test/OpenMP/target_simd_if_messages.cpp

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