[all-commits] [llvm/llvm-project] 8fbc7e: [flang] Make use of do variable more consistent.

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Sep 1 15:47:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fbc7e0869293b9b61b7bce3edfa4de05b1c549d
      https://github.com/llvm/llvm-project/commit/8fbc7e0869293b9b61b7bce3edfa4de05b1c549d
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/OpenMP/omp-parallel-private-clause-fixes.f90
    M flang/test/Lower/OpenMP/omp-wsloop-variable.f90
    M flang/test/Lower/array-expression-slice-1.f90
    M flang/test/Lower/do_loop.f90
    M flang/test/Lower/infinite_loop.f90
    M flang/test/Lower/mixed_loops.f90

  Log Message:
  -----------
  [flang] Make use of do variable more consistent.

Instead of using the IV block argument of the do-loop we will use
the do-variable value loaded from its location. This usage is consistent
with other uses of the do-variable inside the loop.

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




More information about the All-commits mailing list