[flang][fir] Add FIR's vector type.
authorEric Schweitz <eschweitz@nvidia.com>
Fri, 5 Feb 2021 18:35:32 +0000 (10:35 -0800)
committerEric Schweitz <eschweitz@nvidia.com>
Fri, 5 Feb 2021 20:44:19 +0000 (12:44 -0800)
commitf6342806dbfcae5320013331958dae98855e75f6
tree326153e5fcbd9d0ee1136e80e93c3dd0136a5164
parent85167fb7c2920ca8874b197ef397e8e6b9d87c73
[flang][fir] Add FIR's vector type.

This patch adds support for `!fir.vector`, a rank one, constant length
data type.

https://github.com/flang-compiler/f18-llvm-project/pull/413

Differential Revision: https://reviews.llvm.org/D96162
flang/include/flang/Optimizer/Dialect/FIROps.td
flang/include/flang/Optimizer/Dialect/FIRType.h
flang/lib/Optimizer/Dialect/FIRDialect.cpp
flang/lib/Optimizer/Dialect/FIRType.cpp
flang/test/Fir/fir-types.fir