[all-commits] [llvm/llvm-project] ecb1fb: [flang][openacc] Generate data bounds for array ad...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon Nov 6 14:45:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecb1fbaa134081e19f9968bdea66d94ffa5e5f46
      https://github.com/llvm/llvm-project/commit/ecb1fbaa134081e19f9968bdea66d94ffa5e5f46
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M flang/lib/Lower/DirectivesCommon.h
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Lower/OpenMP.cpp
    M flang/test/Lower/OpenACC/acc-enter-data.f90

  Log Message:
  -----------
  [flang][openacc] Generate data bounds for array addressing. (#71254)

In cases like `copy(array(N))` it is still useful to represent
the data operand uniformly with `copy(array(N:N))`.
This change generates data bounds even if it is not an array
section with the triplets. The lower and the upper bounds
are the same and the extent is one in this case.




More information about the All-commits mailing list