[all-commits] [llvm/llvm-project] 6e193b: Prepare for inlining of SUM intrinsic

Mats Petersson via All-commits all-commits at lists.llvm.org
Thu Aug 4 12:56:54 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e193b5cbb6d7591280e4d03a658bb11f9fcd4d9
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    A flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    A flang/test/Transforms/simplifyintrinsics.fir

  Log Message:
  Prepare for inlining of SUM intrinsic

Find calls to FortranASum{Real8,Integer4}, check for dim and mask
arguments being absent - then produce an inlineable simple
version of the sum function.

(No longer a prototype, please review for push to llvm/main - not sure how to make Phabricator update the review with actual commit message)

Reviewed By: peixin, awarzynski

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

More information about the All-commits mailing list