[all-commits] [llvm/llvm-project] d8c31d: [OPENMP50]Fix capturing of if condition in target ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Dec 11 10:22:12 PST 2019


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

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

  Log Message:
  -----------
  [OPENMP50]Fix capturing of if condition in target parallel for simd
directive.

Fixed capturing of the if condition if no modifer was specified in this
condition. Previously could capture it only in outer region and it could
lead to a compiler crash.




More information about the All-commits mailing list