[all-commits] [llvm/llvm-project] c7ff45: [flang][hlfir] Lower left-hand side vector subscri...

jeanPerier via All-commits all-commits at lists.llvm.org
Tue May 9 00:23:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7ff45a529ca16c8a3dbff3b6786e41b49c195cc
      https://github.com/llvm/llvm-project/commit/c7ff45a529ca16c8a3dbff3b6786e41b49c195cc
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M flang/include/flang/Lower/ConvertExprToHLFIR.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    A flang/test/Lower/HLFIR/vector-subscript-lhs.f90

  Log Message:
  -----------
  [flang][hlfir] Lower left-hand side vector subscripts to HLFIR

This patch lowers assignments to vector subscripted designators into the
newly added hlfir.elemental_addr and hlfir.region_assign.

Note that the codegen of these operation to FIR is still TODO and will
still emit a TODO message when trying to compile programs end to end.

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




More information about the All-commits mailing list