[all-commits] [llvm/llvm-project] c97d3e: [flang] Use input type to recover the type desc wh...

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


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

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/polymorphic.fir

  Log Message:
  -----------
  [flang] Use input type to recover the type desc when emboxing

When emboxing to a polymorphic entity without a type source box,
the type desc address must be retrived from the input type and
not from the box type.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list