[all-commits] [llvm/llvm-project] 0b3d54: [flang][hlfir] Lower parent component in constant ...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Nov 7 00:21:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b3d54973c75facf69daf2738c21f064c1854b33
https://github.com/llvm/llvm-project/commit/0b3d54973c75facf69daf2738c21f064c1854b33
Author: jeanPerier <jperier at nvidia.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M flang/lib/Lower/ConvertConstant.cpp
M flang/test/Lower/HLFIR/constant-derived.f90
Log Message:
-----------
[flang][hlfir] Lower parent component in constant structure constructors (#71421)
Simply remove TODO. Since parent components are now fields of the
extended types fir.type<> in HLFIR, there is nothing specific to do to
deal with the appearance of a parent component value in a structure
constructor value that must be turned into a fir.global initial value:
it can simply be inserted as a normal field value.
More information about the All-commits
mailing list