llvm-project/flang/lib
Dylan Fleming ddc0465369 [Flang][OpenMP] Add support for logical and reduction in worksharing-loop
Adds support for .and. reductions with logical types.

Because arith.addi doesn'to work with fir.logical<4> types
logical<4> must be converted to i1 prior to the operation.

This means that the pattern matched by integer reductions
(load -> op -> store) will not match logical reductions.
Instead, the pattern being searched for here is
load -> convert(logical<4> to i1) -> op -> convert(i1 to logical<4>) -> store

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D132228
2022-09-09 17:29:49 +00:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Allow configuring building the flang runtime standalone 2022-08-23 17:25:21 +03:00
Evaluate [flang] Add co_sum to the list of intrinsics and update test 2022-09-08 09:38:24 -07:00
Frontend [flang] Simplify string comparisons (NFC) 2022-08-27 21:21:04 -07:00
FrontendTool [Flang][Driver] Add support for AsmPrinter -mmlir options 2022-07-27 16:11:11 -04:00
Lower [Flang][OpenMP] Add support for logical and reduction in worksharing-loop 2022-09-09 17:29:49 +00:00
Optimizer [flang] Compute type allocation size based on the actual target representation. 2022-09-09 08:39:15 -07:00
Parser [flang][OpenMP] Parser support for Target directive and Device clause 2022-08-21 22:26:02 +05:30
Semantics [flang] Don't construct TBP bindings for abstract derived types 2022-08-29 10:53:43 -07:00
CMakeLists.txt [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00