aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2023-03-14 19:08:34 +0000
committerKiran Chandramohan <kiran.chandramohan@arm.com>2023-03-14 21:38:08 +0000
commitf51bdae4e3d603de81b7efab82889677dee276fa (patch)
tree0f1b1c99e8e61cd50a76ca86d41dd66885aa4f8e /llvm/lib/Support/CommandLine.cpp
parent180865a50085a378fa107b965f63cc52d007595e (diff)
downloadllvm-f51bdae4e3d603de81b7efab82889677dee276fa.zip
llvm-f51bdae4e3d603de81b7efab82889677dee276fa.tar.gz
llvm-f51bdae4e3d603de81b7efab82889677dee276fa.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions