[all-commits] [llvm/llvm-project] 4341c6: [OPENMP]Do not allow threadprivates as base for ar...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Sep 16 06:32:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4341c6618decb4014a167bc83aeeed49ab49b34f
      https://github.com/llvm/llvm-project/commit/4341c6618decb4014a167bc83aeeed49ab49b34f
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

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

  Log Message:
  -----------
  [OPENMP]Do not allow threadprivates as base for array-like reduction.

The base must be shared between the threads, threadprivates are not
allowed to be bases for array-like reductions.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list