[flang][fir] Add shape, shape_shift, and slice types.
authorEric Schweitz <eschweitz@nvidia.com>
Fri, 5 Feb 2021 20:40:39 +0000 (12:40 -0800)
committerEric Schweitz <eschweitz@nvidia.com>
Tue, 9 Feb 2021 16:55:47 +0000 (08:55 -0800)
commit399c3d5b297208b7dcdfac1710e02e2775281704
tree1b53e356467817df18b66b96ae5279495301fed1
parent5fa893cc383bd5737cdba631c5ff2054ed08380a
[flang][fir] Add shape, shape_shift, and slice types.

Adding the FIR types used to describe the Fortran semantics of indexing
FIR arrays.

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

Differential Revision: https://reviews.llvm.org/D96172
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