[all-commits] [llvm/llvm-project] beb5ac: [flang] (NFC) Break up flang/runtime/reduction.cpp

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Apr 22 15:25:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: beb5ac8b254b2c46c548cd0840a761fec24c69ff
      https://github.com/llvm/llvm-project/commit/beb5ac8b254b2c46c548cd0840a761fec24c69ff
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M flang/runtime/CMakeLists.txt
    A flang/runtime/extrema.cpp
    A flang/runtime/findloc.cpp
    A flang/runtime/product.cpp
    A flang/runtime/reduction-templates.h
    M flang/runtime/reduction.cpp
    A flang/runtime/sum.cpp

  Log Message:
  -----------
  [flang] (NFC) Break up flang/runtime/reduction.cpp

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.

Differential Revision: https://reviews.llvm.org/D101111




More information about the All-commits mailing list