[all-commits] [llvm/llvm-project] 828674: [flang][openacc] Allow acc routine at the top leve...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Oct 24 09:18:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 828674395b1997c01acd9c560646d909b9cc3615
      https://github.com/llvm/llvm-project/commit/828674395b1997c01acd9c560646d909b9cc3615
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M flang/docs/OpenACC.md
    M flang/include/flang/Lower/OpenACC.h
    M flang/include/flang/Lower/PFTBuilder.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Lower/PFTBuilder.cpp
    M flang/lib/Parser/program-parsers.cpp
    M flang/lib/Semantics/program-tree.cpp
    M flang/lib/Semantics/program-tree.h
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/lib/Semantics/resolve-directives.h
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Lower/OpenACC/acc-routine02.f90
    A flang/test/Semantics/OpenACC/acc-routine-validity02.f90

  Log Message:
  -----------
  [flang][openacc] Allow acc routine at the top level (#69936)

Some compilers allow the `$acc routine(<name>)` to be placed at the
program unit level. To be compatible, this patch enables the use of acc
routine at this level. These acc routine directives must have a name.




More information about the All-commits mailing list