Add support for the max operator in the reduction
clause.
Depdns on D151671
| Paths 
 |  Differential  D151672  
[flang][openacc] Add lowering for max operator ClosedPublic Authored by clementval on May 29 2023, 8:04 PM. 
Details 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptMay 29 2023, 8:04 PM Comment Actions Thank you. The comments I left for "min" apply here also: Otherwise, great work! 
 This revision is now accepted and ready to land.Jun 14 2023, 5:31 AM jeanPerier added a parent revision: D151671: [flang][openacc] Add lowering for min operator.Jun 14 2023, 5:33 AM Closed by commit rG208fdcb07fc6: [flang][openacc] Add lowering for max operator (authored by clementval).  ·  Explain WhyJun 14 2023, 3:21 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 531540 flang/lib/Lower/OpenACC.cpp
 flang/test/Lower/OpenACC/acc-reduction.f90
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I advise using fir::genMax() (https://reviews.llvm.org/D151671).