[flang-commits] [PATCH] D88981: Rework host runtime folding and enable REAL(2) folding with it.

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Oct 7 09:59:54 PDT 2020


jeanPerier created this revision.
jeanPerier added reviewers: klausler, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
jeanPerier requested review of this revision.

- Rework the host runtime table so that it is constexpr to avoid having to construct it and to store/propagate it.
- Make the interface simpler (remove many templates and a file)
- Enable 16bits float folding using 32bits float host runtime
- Move StaticMultimapView into its own header to use it for host folding


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88981

Files:
  flang/include/flang/Common/static-multimap-view.h
  flang/include/flang/Evaluate/common.h
  flang/include/flang/Evaluate/intrinsics-library.h
  flang/lib/Evaluate/fold-complex.cpp
  flang/lib/Evaluate/fold-implementation.h
  flang/lib/Evaluate/fold-real.cpp
  flang/lib/Evaluate/intrinsics-library-templates.h
  flang/lib/Evaluate/intrinsics-library.cpp
  flang/lib/Lower/IntrinsicCall.cpp
  flang/unittests/Evaluate/folding.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88981.296721.patch
Type: text/x-patch
Size: 65508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20201007/f3975208/attachment-0001.bin>


More information about the flang-commits mailing list