[all-commits] [llvm/llvm-project] 9aeb7f: [flang] Lower IO input with vector subscripts

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Mar 16 09:13:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aeb7f035bdde83501e5eddd9e6ad175b8ed697f
      https://github.com/llvm/llvm-project/commit/9aeb7f035bdde83501e5eddd9e6ad175b8ed697f
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M flang/include/flang/Lower/AbstractConverter.h
    M flang/include/flang/Lower/Support/Utils.h
    A flang/include/flang/Lower/VectorSubscripts.h
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/CMakeLists.txt
    M flang/lib/Lower/ConvertType.cpp
    M flang/lib/Lower/IO.cpp
    A flang/lib/Lower/VectorSubscripts.cpp
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    M flang/lib/Optimizer/Transforms/RewriteLoop.cpp
    A flang/lib/Optimizer/Transforms/SimplifyRegionLite.cpp
    A flang/test/Lower/vector-subscript-io.f90

  Log Message:
  -----------
  [flang] Lower IO input with vector subscripts

This patch adds lowering for IO input with vector subscripts.
It defines a VectorSubscriptBox class that allow representing and working
with a lowered Designator containing vector subscripts while ensuring
all the subscripts expression are only lowered once.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

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

Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list