[flang-commits] [PATCH] D109911: [flang] Fold COUNT()

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Sep 16 12:47:54 PDT 2021


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added subscribers: jdoerfert, mgorny.
Herald added a reviewer: sscalpone.
klausler requested review of this revision.

Complete folding of the intrinsic reduction function COUNT() for all
cases, including partial reductions with DIM= arguments.


https://reviews.llvm.org/D109911

Files:
  flang/lib/Evaluate/CMakeLists.txt
  flang/lib/Evaluate/fold-implementation.h
  flang/lib/Evaluate/fold-integer.cpp
  flang/lib/Evaluate/fold-logical.cpp
  flang/lib/Evaluate/fold-reduction.cpp
  flang/lib/Evaluate/fold-reduction.h
  flang/test/Evaluate/folding29.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109911.373036.patch
Type: text/x-patch
Size: 10489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210916/12b9de4c/attachment.bin>


More information about the flang-commits mailing list