[all-commits] [llvm/llvm-project] 7fab11: [OPENMP]Fix PR50929: Ignored initializer clause in...

cilkplus via All-commits all-commits at lists.llvm.org
Wed Jun 30 04:58:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fab1146e42ca76a78cccd0aa274168c628d01de
      https://github.com/llvm/llvm-project/commit/7fab1146e42ca76a78cccd0aa274168c628d01de
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

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

  Log Message:
  -----------
  [OPENMP]Fix PR50929: Ignored initializer clause in user-defined reduction.

No need to try to create the default constructor for private copy, it
will be called automatically in the initializer of the declare
reduction. Fixes balance between constructors/destructors calls.

Differential Revision: https://reviews.llvm.org/D105143




More information about the All-commits mailing list