[flang-commits] [PATCH] D139124: [flang] Lower evaluate::Extremum

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Dec 1 08:53:59 PST 2022


jeanPerier created this revision.
jeanPerier added reviewers: PeteSteinfeld, clementval.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
jeanPerier requested review of this revision.

Update BinaryOp<T>::gen so that const T& is threaded and some
operation knowledge that is not encoded by the type T or the arguments
can be used. For Extremum, it is the order (Greater or Lesser) that is
required, but this will also be required for evaluate::Relational.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139124

Files:
  flang/lib/Lower/ConvertExprToHLFIR.cpp
  flang/test/Lower/HLFIR/binary-ops.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139124.479321.patch
Type: text/x-patch
Size: 6083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221201/8103e79e/attachment.bin>


More information about the flang-commits mailing list