[all-commits] [llvm/llvm-project] f51bda: [Flang][OpenMP] Add support for OpenMP max reduction
kiranchandramohan via All-commits
all-commits at lists.llvm.org
Tue Mar 14 14:49:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f51bdae4e3d603de81b7efab82889677dee276fa
https://github.com/llvm/llvm-project/commit/f51bdae4e3d603de81b7efab82889677dee276fa
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2023-03-14 (Tue, 14 Mar 2023)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
R flang/test/Lower/OpenMP/Todo/reduction-max.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max.f90
Log Message:
-----------
[Flang][OpenMP] Add support for OpenMP max reduction
This patch adds support for reduction of max-intrinsic for scalar
types. Max is lowered as a compare-select in the default lowering
flow for Flang. This pattern is matched and replaced with the
OpenMP dialect reduction operation.
Note: This is a temporary flow. The plan is to move to a flow where
the OpenMP reduction operation is inserted during lowering.
Reviewed By: do
Differential Revision: https://reviews.llvm.org/D145083
More information about the All-commits
mailing list