[flang] Upstream fix to allocmem codegen to deal with missing dimensions
authorEric Schweitz <eschweitz@nvidia.com>
Fri, 11 Feb 2022 02:40:13 +0000 (18:40 -0800)
committerEric Schweitz <eschweitz@nvidia.com>
Fri, 11 Feb 2022 19:12:49 +0000 (11:12 -0800)
commitc45bd4b9e58ec6359ec07993eff81bd163a2d6ac
tree90e3b55599c25268683b1aa95d46e3841749337d
parent8f0e5b4e26a54a3ec347d6499cbb43b15ad6352c
[flang] Upstream fix to allocmem codegen to deal with missing dimensions
for sequence of character types.

Upstream type test. Upstream test. Fix tests.

Do not run on windows, as that is not an implemented target.

Differential Revision: https://reviews.llvm.org/D119551
flang/include/flang/Optimizer/Dialect/FIRType.h
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/test/Fir/alloc.fir [new file with mode: 0644]
flang/test/Fir/convert-to-llvm.fir