[all-commits] [llvm/llvm-project] 1b75b9: [OpenACC] Handle sema for gang, worker, vector, se...

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Mar 6 11:54:10 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b75b9e665ee3c43de85c25f8d5f10d4efb3ca39
      https://github.com/llvm/llvm-project/commit/1b75b9e665ee3c43de85c25f8d5f10d4efb3ca39
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M clang/include/clang/Sema/SemaOpenACC.h
    M clang/lib/AST/DeclPrinter.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/lib/Sema/SemaOpenACCClause.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/test/AST/ast-print-openacc-routine-construct.cpp
    M clang/test/ParserOpenACC/parse-clauses.c
    M clang/test/ParserOpenACC/parse-clauses.cpp
    M clang/test/ParserOpenACC/parse-constructs.c
    M clang/test/ParserOpenACC/parse-constructs.cpp
    M clang/test/SemaOpenACC/routine-construct-ast.cpp
    A clang/test/SemaOpenACC/routine-construct-clauses.cpp
    M clang/test/SemaOpenACC/routine-construct.cpp
    M clang/test/SemaOpenACC/unimplemented-construct.c

  Log Message:
  -----------
  [OpenACC] Handle sema for gang, worker, vector, seq clauses on routine

These 4 clauses are mutually exclusive, AND require at least one of
them. Additionally, gang has some additional restrictions in that only
the 'dim' specifier is permitted. This patch implements all of this, and
ends up refactoring the handling of each of these clauses for
readabililty.



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