[all-commits] [llvm/llvm-project] faa104: [flang] Carry over dynamic type information when c...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Mar 21 08:08:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faa1043144b3f6c3362fe1d9f43e55e741b40386
      https://github.com/llvm/llvm-project/commit/faa1043144b3f6c3362fe1d9f43e55e741b40386
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

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

  Log Message:
  -----------
  [flang] Carry over dynamic type information when creating an unlimited polymorphic temp

The dyanmic type must be carried over in a PolymorphicValue when the address is
loaded from an unlimited polymorphic allocatable.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list