[flang-commits] [PATCH] D101111: [flang] (NFC) Break up flang/runtime/reduction.cpp

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Apr 22 14:26:24 PDT 2021


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

The single source file reduction.cpp is a little large in
terms of both source lines and generated text bytes, so
split SUM, PRODUCT, FINDLOC, and MAXLOC/MAXVAL/MINLOC/MINVAL
off into their own C++ source files that share a set of
implementation function templates now in a common header.


https://reviews.llvm.org/D101111

Files:
  flang/runtime/CMakeLists.txt
  flang/runtime/extrema.cpp
  flang/runtime/findloc.cpp
  flang/runtime/product.cpp
  flang/runtime/reduction-templates.h
  flang/runtime/reduction.cpp
  flang/runtime/sum.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101111.339783.patch
Type: text/x-patch
Size: 128627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210422/056b7da6/attachment-0001.bin>


More information about the flang-commits mailing list