This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fold NEAREST() and its relatives
ClosedPublic

Authored by klausler on Mar 25 2022, 3:11 PM.

Details

Summary

Implement constant folding for the intrinsic function NEAREST()
and the related functions IEEE_NEXT_AFTER(), IEEE_NEXT_UP(), and
IEEE_NEXT_DOWN().

Diff Detail

Event Timeline

klausler created this revision.Mar 25 2022, 3:11 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Mar 25 2022, 3:11 PM
jeanPerier accepted this revision.Mar 28 2022, 1:17 AM

Looks good

This revision is now accepted and ready to land.Mar 28 2022, 1:17 AM
This revision was automatically updated to reflect the committed changes.