[all-commits] [llvm/llvm-project] 4fbaef: [flang][hlfir] Implemented addressing an element o...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Jun 6 10:26:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fbaefa246844bd2329712c9dbd20893d4d8f467
      https://github.com/llvm/llvm-project/commit/4fbaefa246844bd2329712c9dbd20893d4d8f467
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/test/HLFIR/designate-codegen.fir

  Log Message:
  -----------
  [flang][hlfir] Implemented addressing an element of a polymorphic array.

The changes convert hlfir.designate to fir.array_coor/fir.embox
to represent a subscripted element of a polymorphic array.
The type information is conveyed via the fir.embox's source_box.

Reviewed By: tblah

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




More information about the All-commits mailing list