This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fold MAXVAL & MINVAL
ClosedPublic

Authored by klausler on Jun 15 2021, 4:33 PM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Jun 15 2021, 4:33 PM
klausler requested review of this revision.Jun 15 2021, 4:33 PM
jeanPerier accepted this revision.Jun 16 2021, 2:46 AM
This 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.
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2021, 2:06 PM