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.
Paths
| Differential D104337
[flang] Fold MAXVAL & MINVAL ClosedPublic Authored by klausler on Jun 15 2021, 4:33 PM.
Details
Summary Implement constant folding for the reduction transformational In anticipation of more folding work to follow, with (I hope)
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 16 2021, 2:46 AM This revision was landed with ongoing or failed builds.Jun 16 2021, 2:06 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 352551 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
|