[all-commits] [llvm/llvm-project] f59614: [OPENMP50]Add if clause in parallel for simd direc...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Nov 27 07:06:31 PST 2019


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

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/parallel_for_simd_codegen.cpp

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

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