[all-commits] [llvm/llvm-project] 991a90: [flang] Lower evaluate::Extremum

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Dec 2 00:30:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 991a90a00d571cfe3ed3da3f2ad766d4afce6c2b
      https://github.com/llvm/llvm-project/commit/991a90a00d571cfe3ed3da3f2ad766d4afce6c2b
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/test/Lower/HLFIR/binary-ops.f90

  Log Message:
  -----------
  [flang] Lower evaluate::Extremum

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.

Differential Revision: https://reviews.llvm.org/D139124




More information about the All-commits mailing list