[all-commits] [llvm/llvm-project] 6cbcfb: [OpenACC] Fix Sema 'reduction' to allow arrays

Erich Keane via All-commits all-commits at lists.llvm.org
Fri Jul 25 10:26:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cbcfb9a7cb79658c315732b1d7d86ce8a52bc45
      https://github.com/llvm/llvm-project/commit/6cbcfb9a7cb79658c315732b1d7d86ce8a52bc45
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaOpenACCClause.cpp
    M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
    M clang/test/SemaOpenACC/compute-construct-reduction-clause.cpp
    M clang/test/SemaOpenACC/loop-construct-reduction-clause.cpp

  Log Message:
  -----------
  [OpenACC] Fix Sema 'reduction' to allow arrays

Due to a mis-reading of the OpenACC spec, we weren't accepting arrays as
a valid value to a reduction variable.  This patch corrects that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list