[all-commits] [llvm/llvm-project] 62aa19: [flang] Keep a fir.box type when doing an array of...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jan 24 10:45:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62aa19a5a529b972e6e0d92c57ff773daddd22a2
      https://github.com/llvm/llvm-project/commit/62aa19a5a529b972e6e0d92c57ff773daddd22a2
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/test/Lower/polymorphic.f90

  Log Message:
  -----------
  [flang] Keep a fir.box type when doing an array of derived type component

When referencing a single component from a polymorphic array in an expression,
the rebox operation should output a boxed array of that component type and
not a polymorphic boxed array as it was done.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list