llvm-project/flang/unittests
Valentin Clement aab4263ad6
[flang] Lower basic STOP statement
This patch lowers STOP statement without arguments
and ERROR STOP. STOP statement with arguments lowering will
come in later patches ince it requires some expression lowering
to be added.
STOP statement is lowered to a runtime call.

Also makes sure we are creating a constant in the MLIR arith constant.

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

Reviewed By: kiranchandramohan, schweitz

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

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
2022-02-01 20:54:45 +01:00
..
Decimal [flang] Make flang build compatible with LLVM dylib 2020-10-14 14:27:25 +02:00
Evaluate [flang] Remove incorrect unit test 2021-10-04 18:27:14 -07:00
Frontend [flang][nfc] Fix variable names in `FrontendOptions` & `PreprocessorOptions` 2021-08-02 10:08:31 +00:00
Optimizer [flang] Lower basic STOP statement 2022-02-01 20:54:45 +01:00
Runtime [flang] Rename the runtime routine that reports a fatal user error 2022-02-01 09:01:50 -08:00
CMakeLists.txt [fir] Split FIROptimizer lib into several smaller libraries 2021-10-05 14:02:32 +02:00