[flang][NFC] Add forall lowering tests
authorValentin Clement <clementval@gmail.com>
Tue, 22 Mar 2022 20:32:57 +0000 (21:32 +0100)
committerValentin Clement <clementval@gmail.com>
Tue, 22 Mar 2022 20:34:59 +0000 (21:34 +0100)
commitd8beb2c33db8b2c4594a3714e0d034c2e830b9e4
tree68bf56373865e9bd4dbe1695f8a31e7aa75b3f90
parentf7d7d2a08d16356c57f6d2d36bc2fc0589a55df9
[flang][NFC] Add forall lowering tests

This patch adds some lowering tests for the `forall` construct.

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

Reviewed By: PeteSteinfeld

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

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
13 files changed:
flang/test/Lower/forall/array-subscripts.f90 [new file with mode: 0644]
flang/test/Lower/forall/character-1.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-allocatable-2.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-allocatable.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-array.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-construct-2.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-construct-3.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-ranked.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-slice.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-stmt.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-where-2.f90 [new file with mode: 0644]
flang/test/Lower/forall/forall-where.f90 [new file with mode: 0644]
flang/test/Lower/forall/test9.f90 [new file with mode: 0644]