[all-commits] [llvm/llvm-project] 43159b: [FLANG][NFCI]De-duplicate code in SimplifyIntrinsics

Mats Petersson via All-commits all-commits at lists.llvm.org
Fri Sep 2 02:50:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43159b5808a7de2301be932c666816b4b7b93faf
      https://github.com/llvm/llvm-project/commit/43159b5808a7de2301be932c666816b4b7b93faf
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp

  Log Message:
  -----------
  [FLANG][NFCI]De-duplicate code in SimplifyIntrinsics

This removes a bunch of duplicated code, by adding an intermediate
function simplifyReduction that takes a std::function argument
for the actual replacement of the code.

No functional change intended.

Reviewed By: vzakhari

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




More information about the All-commits mailing list