[all-commits] [llvm/llvm-project] 69a6bd: [flang][openacc] Lower acc routine with function name

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Aug 17 14:25:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69a6bd5f052f076c72ef6f2a39a13f725acdb13a
      https://github.com/llvm/llvm-project/commit/69a6bd5f052f076c72ef6f2a39a13f725acdb13a
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M flang/include/flang/Lower/OpenACC.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenACC.cpp
    A flang/test/Lower/OpenACC/acc-routine-named.f90

  Log Message:
  -----------
  [flang][openacc] Lower acc routine with function name

The routine directive can appear in the specification part of
a subroutine, function or module and therefore appear before the
function or subroutine is lowered. We keep track of the created
routine info attribute and attach them to the function at the end
of the lowering if the directive appeared before the function was
lowered.

Reviewed By: razvanlupusoru

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




More information about the All-commits mailing list