[flang-commits] [PATCH] D144548: [flang][hlfir] Array constructor lowering [part 4/4]

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Feb 22 03:10:01 PST 2023


jeanPerier created this revision.
jeanPerier added reviewers: clementval, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
jeanPerier requested review of this revision.

Enable character and derived type array constructor lowering.
Nothing special needs to be done other than lowering the types
before the array constructor lowering.
Derived type are forced to use the runtime for now to avoid
undesired usage of user defined assignment that hlfir.assign
may trigger when using the runtime.

Depends on D144513 <https://reviews.llvm.org/D144513>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144548

Files:
  flang/lib/Lower/ConvertArrayConstructor.cpp
  flang/test/Lower/HLFIR/array-ctor-character.f90
  flang/test/Lower/HLFIR/array-ctor-derived.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144548.499438.patch
Type: text/x-patch
Size: 17226 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230222/cca39af7/attachment-0001.bin>


More information about the flang-commits mailing list