[all-commits] [llvm/llvm-project] 2e9789: [flang] Use tdesc on fir.embox in code generation
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Oct 26 05:17:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e978986560750a87e0c880106ca0c5f421f05d2
https://github.com/llvm/llvm-project/commit/2e978986560750a87e0c880106ca0c5f421f05d2
Author: Valentin Clement <clementval at gmail.com>
Date: 2022-10-26 (Wed, 26 Oct 2022)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGOps.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Lower/allocatable-polymorphic.f90
Log Message:
-----------
[flang] Use tdesc on fir.embox in code generation
For polymoprhic entities, the type descriptor is dynamic. The tdesc
operand on fir.embox is meant to propagate the dynamic type when
embox a polymorphic entity.
This patch makes use of this operand in code generation and update
the created descriptor accordingly.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D136748
More information about the All-commits
mailing list