llvm-project/flang/test
Andrzej Warzynski 48eb2bc608 [flang][driver] Use `-O{0|1|2|3}` to define LLVM backend pass pipeline
Support for optimisation flags in LLVM Flang was originally added in
https://reviews.llvm.org/D128043. That patch focused on LLVM
middle-end/optimisation pipelines. With this patch, Flang will
additionally configure LLVM backend pass pipelines accordingly. This
behavior is consistent with Clang.

New hook is added to translate compiler optimisation flags (e.g. `-O3`)
into backend optimisation level: `getCGOptLevel`. Identical hooks are
available in Clang and LLVM. In other words, the meaning of these
optimisation flags remains consistent with other sub-projects that use
LLVM backends.

Differential Revision: https://reviews.llvm.org/D128050
2022-06-27 15:08:54 +00:00
..
Driver [flang][driver] Use `-O{0|1|2|3}` to define LLVM backend pass pipeline 2022-06-27 15:08:54 +00:00
Evaluate [flang] Make SQRT folding exact 2022-06-23 11:16:39 -07:00
Examples [flang][OpenMP] Added parser support for in_reduction clause 2022-06-06 14:55:27 +05:30
Fir [Flang] enable fir.is_present and fir.absent with function types 2022-06-24 08:46:14 +00:00
Frontend [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
Lower [flang][NFC] Add IO lowering tests 2022-06-27 15:01:33 +02:00
NonGtestUnit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
Parser [flang][OpenMP] Added parser support for in_reduction clause 2022-06-06 14:55:27 +05:30
Preprocessing [flang] Support correct continuations for compiler directives 2022-05-27 13:45:37 +03:00
Runtime Reland "[flang] GET_COMMAND_ARGUMENT runtime implementation" 2021-09-28 12:34:07 +00:00
Semantics [flang] Fix bogus errors from SIZE/SHAPE/UBOUND on assumed-shape 2022-06-23 10:32:22 -07:00
Unit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
CMakeLists.txt [flang][driver] Add support for generating executables 2022-04-25 12:00:23 +00:00
lit.cfg.py [flang][driver] Add support for consuming LLVM IR/BC files 2022-05-05 15:11:50 +00:00
lit.site.cfg.py.in Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00