[all-commits] [llvm/llvm-project] 545db9: [flang] Handle polymorphic argument when expecting...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Nov 28 11:56:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 545db9c41fba7877cb7a935ae571ed0a1be5396c
      https://github.com/llvm/llvm-project/commit/545db9c41fba7877cb7a935ae571ed0a1be5396c
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

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

  Log Message:
  -----------
  [flang] Handle polymorphic argument when expecting boxed derived-type

Perform a rebox instead of a convert operation when the input type is
polymorphic and the output type is a boxed derived-type.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list