[all-commits] [llvm/llvm-project] 447af1: [flang][openacc][openmp] Update stride computation...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Nov 14 13:55:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 447af1ce99c066169c5ea85a23963e8d3d93124a
      https://github.com/llvm/llvm-project/commit/447af1ce99c066169c5ea85a23963e8d3d93124a
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M flang/lib/Lower/DirectivesCommon.h
    M flang/test/Lower/OpenACC/acc-bounds.f90

  Log Message:
  -----------
  [flang][openacc][openmp] Update stride computation for bounds (#72168)

This patch updates the stride computation for the outer dimensions of
multidimensional arrays where the stride is read from the descriptor.
For the inner dimension, the stride is the element size in bytes. Then
it is multiplied by the n-1 extent for outer dimensions.




More information about the All-commits mailing list