[all-commits] [llvm/llvm-project] 00874c: [IPO] Reorder parameters of InlineFunction (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Sep 20 09:09:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00874c48ea4d291908517afaab50d1dcbfb016c3
      https://github.com/llvm/llvm-project/commit/00874c48ea4d291908517afaab50d1dcbfb016c3
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Cloning.h
    M llvm/lib/Transforms/IPO/AlwaysInliner.cpp
    M llvm/lib/Transforms/IPO/Inliner.cpp
    M llvm/lib/Transforms/IPO/ModuleInliner.cpp
    M llvm/lib/Transforms/IPO/PartialInlining.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp

  Log Message:
  -----------
  [IPO] Reorder parameters of InlineFunction (NFC)

With the recent addition of new parameter MergeAttributes (D134117),
callers need to specify several default parameters before getting to
specify the new parameter.

This patch reorders the parameters so that callers do not have to
specify as many default parameters.

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




More information about the All-commits mailing list