[all-commits] [llvm/llvm-project] d28a78: [flang][openacc] Use bounds information in reducti...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Sep 28 13:11:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d28a782542aff50abf2b072780748ce57d982705
      https://github.com/llvm/llvm-project/commit/d28a782542aff50abf2b072780748ce57d982705
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/test/Lower/OpenACC/acc-reduction.f90

  Log Message:
  -----------
  [flang][openacc] Use bounds information in reduction recipe combiner (#67719)

This patch makes use of the bounds in the combiner region for known
shape arrays. Until know the combiner region was iterating over the
whole array.
Lowerbound, upperbound and step are passed as block arguments after the
two values.

A follow up patch will make use of this information for the assumed
shape arrays as well.




More information about the All-commits mailing list