[flang-commits] [PATCH] D104337: [flang] Fold MAXVAL & MINVAL
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Jun 15 16:33:19 PDT 2021
klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
klausler requested review of this revision.
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.
https://reviews.llvm.org/D104337
Files:
flang/include/flang/Evaluate/call.h
flang/include/flang/Evaluate/integer.h
flang/include/flang/Evaluate/shape.h
flang/include/flang/Evaluate/tools.h
flang/lib/Evaluate/fold-character.cpp
flang/lib/Evaluate/fold-implementation.h
flang/lib/Evaluate/fold-integer.cpp
flang/lib/Evaluate/fold-real.cpp
flang/lib/Evaluate/fold-reduction.h
flang/lib/Evaluate/shape.cpp
flang/lib/Evaluate/tools.cpp
flang/runtime/reduction.cpp
flang/test/Evaluate/folding20.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104337.352293.patch
Type: text/x-patch
Size: 20251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210615/89b31300/attachment-0001.bin>
More information about the flang-commits
mailing list