[flang-commits] [PATCH] D125151: [flang] Fold real-valued MODULO() and MOD()

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri May 6 17:31:54 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.

Evaluate real-valued references to the intrinsic functions MODULO
and MOD at compilation time without recourse to an external math
library.


https://reviews.llvm.org/D125151

Files:
  flang/include/flang/Evaluate/real.h
  flang/lib/Evaluate/fold-real.cpp
  flang/lib/Evaluate/intrinsics-library.cpp
  flang/lib/Evaluate/real.cpp
  flang/test/Evaluate/fold-mod.f90
  flang/test/Evaluate/folding04.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125151.427800.patch
Type: text/x-patch
Size: 7970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220507/466d1603/attachment.bin>


More information about the flang-commits mailing list