llvm-project/flang/test/Fir
Kiran Chandramohan 21d299172e [Flang] Enable support for conversion of recursive record types
Uses the recursive type conversion implemented in D113579, D113580.
Tests check for recursive and mutually recursive types.

Note: The downstream implementation for recursive types is a bit old
and is based on a static map. This was removed while upstreaming
(https://reviews.llvm.org/D112961) based on review comments. Since
the recursive type conversion is now available in MLIR we are using
that. If this patch is accepted we can use the same in the downstream
implementation.
Part of upstreaming flang from fir-dev branch of https://github.com/flang-compiler/f18-llvm-project.

Reviewed By: ftynse

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

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
2022-01-04 13:53:58 +00:00
..
Todo [flang][codegen] Add a conversion for `fir.coordinate_of` - part 2 2021-12-17 10:34:57 +00:00
abstract-results.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
affine-demotion.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
affine-promotion.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
array-value-copy.fir Fix flang tests after MLIR changes on the handling of declarative assembly 2021-12-08 04:31:12 +00:00
cg-ops.fir [fir] Add substr information to fircg.ext_embox and fircg.ext_rebox operations 2021-11-03 10:15:10 +01:00
char-conversion.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
convert-fold.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
convert-to-llvm-invalid.fir [flang][codegen] Add a conversion for `fir.coordinate_of` - part 2 2021-12-17 10:34:57 +00:00
convert-to-llvm-target.fir [flang][CodeGen] Transform `fir.boxchar_len` to a sequence of LLVM MLIR 2021-11-16 13:49:23 +00:00
convert-to-llvm.fir [flang][codegen] Add a conversion for `fir.coordinate_of` - part 2 2021-12-17 10:34:57 +00:00
external-mangling-emboxproc.fir [fir] Add external name interop pass 2021-10-05 20:33:41 +02:00
external-mangling.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
fir-ops.fir Fix flang tests after MLIR changes on the handling of declarative assembly 2021-12-08 04:31:12 +00:00
fir-types.fir [Flang] Add the FIR LLVMPointer Type 2021-11-15 15:57:59 +00:00
invalid-types.fir [flang][fir] Add FIR Types parser diagnostic tests + cleanup 2021-03-05 14:58:44 -05:00
invalid.fir [flang][codegen] Add a conversion for `fir.coordinate_of` - part 2 2021-12-17 10:34:57 +00:00
loop01.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
loop02.fir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
memory-allocation-opt.fir Add a new memory allocation rewrite pass. 2021-12-15 15:45:08 -08:00
memref-data-flow.fir [fir] Add data flow optimization pass 2021-11-29 11:00:09 +01:00
recursive-type.fir [Flang] Enable support for conversion of recursive record types 2022-01-04 13:53:58 +00:00
target-rewrite-boxchar.fir [fir] TargetRewrite: Rewrite fir.address_of(func) 2021-12-03 10:56:24 +00:00
target-rewrite-complex.fir [flang] Add missing LABEL in test. NFC 2021-12-03 10:56:24 +00:00
target-rewrite-triple.fir [flang] Add TargetRewrite pass 2021-11-09 07:57:31 +00:00
types-to-llvm.fir [flang][nfc] Remove trailing whitespaces from tests 2021-11-18 14:22:18 +00:00