[flang] Add array constructor lowering tests
authorValentin Clement <clementval@gmail.com>
Thu, 17 Mar 2022 20:39:19 +0000 (21:39 +0100)
committerValentin Clement <clementval@gmail.com>
Thu, 17 Mar 2022 20:40:37 +0000 (21:40 +0100)
commit518a837e93e48325991e525d4c2c72321b428334
treef60944e3b495c686ccc92e235c8e1a80dbd0b3a0
parentd9ac55fab2ec49b11c5ab351b3551a7c7bcb89f0
[flang] Add array constructor lowering tests

This patch adds some tests for the lowering of
array constructors.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

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

Co-authored-by: mleair <leairmark@gmail.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
flang/lib/Optimizer/Builder/Character.cpp
flang/test/Lower/array-constructor-1.f90 [new file with mode: 0644]
flang/test/Lower/array-constructor-2.f90 [new file with mode: 0644]