[all-commits] [llvm/llvm-project] 47f18a: [flang] Fold MAXVAL & MINVAL

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jun 16 14:06:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47f18af55fd59e813144cc76711806d57a160e50
      https://github.com/llvm/llvm-project/commit/47f18af55fd59e813144cc76711806d57a160e50
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

  Changed paths:
    M flang/include/flang/Evaluate/call.h
    M flang/include/flang/Evaluate/integer.h
    M flang/include/flang/Evaluate/shape.h
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/fold-character.cpp
    M flang/lib/Evaluate/fold-implementation.h
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/lib/Evaluate/fold-real.cpp
    A flang/lib/Evaluate/fold-reduction.h
    M flang/lib/Evaluate/shape.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/runtime/reduction.cpp
    A flang/test/Evaluate/folding20.f90

  Log Message:
  -----------
  [flang] Fold MAXVAL & MINVAL

Implement constant folding for the reduction transformational
intrinsic functions MAXVAL and MINVAL.

In anticipation of more folding work to follow, with (I hope)
some common infrastructure, these two have been implemented in a
new header file.

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




More information about the All-commits mailing list