[flang] Lower complex constant
authorValentin Clement <clementval@gmail.com>
Wed, 23 Feb 2022 17:01:58 +0000 (18:01 +0100)
committerValentin Clement <clementval@gmail.com>
Wed, 23 Feb 2022 17:03:30 +0000 (18:03 +0100)
commite9d2f173913da17f4e63b68fcee6d7f30d9e2a56
tree8ed2fb0ffbade2ead6120650a6eabaf56dd2cf47
parent7c1ee5e95f3159e13edef644db0509a7d49921c3
[flang] Lower complex constant

Add ability to lower complex constant.

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

Reviewed By: PeteSteinfeld

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

Co-authored-by: Kiran Chandramohan <kiran.chandramohan@arm.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
flang/lib/Lower/ConvertExpr.cpp
flang/test/Lower/assignment.f90