[all-commits] [llvm/llvm-project] da17a5: [OPENMP50]Add if clause in target parallel for sim...

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: da17a53173e0452c0a8a64a83f61a9d4af96eaa8
      https://github.com/llvm/llvm-project/commit/da17a53173e0452c0a8a64a83f61a9d4af96eaa8
  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_parallel_for_simd_ast_print.cpp
    M clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
    M clang/test/OpenMP/target_parallel_for_simd_if_messages.cpp

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

According to OpenMP 5.0, if clause can be used in for simd directive. If
condition in the if clause is false, the non-vectorized version of the
loop must be executed.




More information about the All-commits mailing list