[flang-commits] [PATCH] D122510: [flang] Fold NEAREST() and its relatives
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Fri Mar 25 15:11:55 PDT 2022
klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.
Implement constant folding for the intrinsic function NEAREST()
and the related functions IEEE_NEXT_AFTER(), IEEE_NEXT_UP(), and
IEEE_NEXT_DOWN().
https://reviews.llvm.org/D122510
Files:
flang/include/flang/Evaluate/real.h
flang/lib/Evaluate/fold-real.cpp
flang/lib/Evaluate/real.cpp
flang/test/Evaluate/fold-nearest.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122510.418339.patch
Type: text/x-patch
Size: 11632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220325/b76892c8/attachment-0001.bin>
More information about the flang-commits
mailing list