[all-commits] [llvm/llvm-project] dbee20: [flang] Fix emboxing when input type is directly a...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jan 10 08:09:09 PST 2023


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

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

  Log Message:
  -----------
  [flang] Fix emboxing when input type is directly a record type

In some fir.embox cases as shown in the test, the type descriptor
was not correctly found and the descriptor was populated with a null in the
addendum. This patch fixes this issue.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list