llvm-project/flang/test
Kiran Chandramohan ae37bb9804 [Flang] Add support for lowering the goto statement
This patch adds support for lowering the Fortran goto statement from
parse-tree to MLIR. The goto statement in Fortran is a form of
unstructured control flow. The statement transfers control to the
code starting at the label specified in the statement. This can be
faithfully represented in MLIR by a branch instruction.

To assist the lowering of code with unstructured control flow, blocks
are created in advance and associated with the relevant pre-fir tree
evaluations.

This is part of the upstreaming effort from the fir-dev branch in [1].

[1] https://github.com/flang-compiler/f18-llvm-project

Reviewed By: clementval, vdonaldson, schweitz, awarzynski

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

Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
2022-02-09 09:48:13 +00:00
..
Driver [flang][driver] Add support for `-emit-mlir` 2022-02-09 08:35:48 +00:00
Evaluate [flang] Accept INDEX(..., BACK=array) 2022-01-19 17:37:24 -08:00
Examples [flang][flang-omp-report] Remove the loop workarounds for nowait clause 2021-11-04 14:23:50 +00:00
Fir [flang] Add missing CFI case for REAL and COMPLEX 2022-02-09 10:07:40 +01:00
Frontend [flang] Make the frontend driver error out when requesting multiple actions 2021-12-17 10:05:28 +00:00
Lower [Flang] Add support for lowering the goto statement 2022-02-09 09:48:13 +00:00
NonGtestUnit [flang] Run non-gtest unit tests with lit. 2020-07-24 14:49:39 +01:00
Parser [flang] Catch mismatched parentheses in prescanner 2021-10-06 14:00:15 -07:00
Preprocessing [flang] Fix handling of space between # and name in preprocessor stringification 2022-01-12 16:02:17 -08:00
Runtime Reland "[flang] GET_COMMAND_ARGUMENT runtime implementation" 2021-09-28 12:34:07 +00:00
Semantics [flang] catch implicit interface incompatibility with global scope symbol 2022-02-09 09:30:32 +01:00
Unit [flang] unit test support for out-of-tree and in-tree using google tests framework 2020-06-15 22:09:56 +05:30
CMakeLists.txt [flang] Initial lowering for empty program 2022-01-28 22:39:58 +01:00
lit.cfg.py [Flang] Replace notifyMatchFailure with TODO hard failures 2021-12-02 10:25:02 +00:00
lit.site.cfg.py.in [flang] Refine output file generation 2021-08-21 15:18:48 +00:00