[all-commits] [llvm/llvm-project] bc991d: [flang][hlfir] Array constructor lowering [part 4/4]

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Feb 24 00:19:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc991d940f9a80735fabaf64473d67a3dc69285a
      https://github.com/llvm/llvm-project/commit/bc991d940f9a80735fabaf64473d67a3dc69285a
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M flang/lib/Lower/ConvertArrayConstructor.cpp
    A flang/test/Lower/HLFIR/array-ctor-character.f90
    A flang/test/Lower/HLFIR/array-ctor-derived.f90

  Log Message:
  -----------
  [flang][hlfir] Array constructor lowering [part 4/4]

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.

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




More information about the All-commits mailing list