This patch adds lowering for the following intrinsics:
- max
- maxloc
- maxval
- minloc
- minval
This patch is part of the upstreaming effort from fir-dev branch.
Paths
| Differential D121701
[flang] Lower min|max intrinsics ClosedPublic Authored by clementval on Mar 15 2022, 7:55 AM.
Details Summary This patch adds lowering for the following intrinsics:
This patch is part of the upstreaming effort from fir-dev branch.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 15 2022, 7:55 AM This revision is now accepted and ready to land.Mar 15 2022, 9:38 AM Closed by commit rG94a11063573b: [flang] Lower min|max intrinsics (authored by clementval). · Explain WhyMar 15 2022, 2:24 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 415588 flang/lib/Lower/Bridge.cpp
flang/lib/Lower/ConvertExpr.cpp
flang/lib/Lower/IntrinsicCall.cpp
flang/lib/Optimizer/Builder/MutableBox.cpp
flang/test/Lower/Intrinsics/max.f90
flang/test/Lower/Intrinsics/maxloc.f90
flang/test/Lower/Intrinsics/maxval.f90
flang/test/Lower/Intrinsics/minloc.f90
flang/test/Lower/Intrinsics/minval.f90
|