[all-commits] [llvm/llvm-project] 1b4107: [flang] Embox derived-type when passed to element ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Dec 9 06:38:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b410745081dadae7a9a11b3939c06fed377fda0
      https://github.com/llvm/llvm-project/commit/1b410745081dadae7a9a11b3939c06fed377fda0
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

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

  Log Message:
  -----------
  [flang] Embox derived-type when passed to element procedure as passed object

In elemental procedure lowering the passed object is always emboxed. The current code
was not correctly dealing with scalar derived-type used as passed object.

Reviewed By: jeanPerier, PeteSteinfeld

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




More information about the All-commits mailing list