[all-commits] [llvm/llvm-project] 4ff863: [flang] Support polymorphic input array for PACK i...

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


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

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/test/Lower/polymorphic-temp.f90

  Log Message:
  -----------
  [flang] Support polymorphic input array for PACK intrinsic

When `ARRAY` is polymorphic, the result needs to carry over
the dynamic type information. This patch updates the lowering
to make the result polymorphic when needed.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list