[PATCH] D134125: [IPO] Reorder parameters of InlineFunction (NFC)

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 18 00:18:24 PDT 2022


kazu created this revision.
Herald added subscribers: ormris, wenlei, hiraditya.
Herald added a project: All.
kazu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

With the recent addition of new parameter MergeAttributes (D134117 <https://reviews.llvm.org/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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134125

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134125.461050.patch
Type: text/x-patch
Size: 6028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220918/09c18e02/attachment.bin>


More information about the llvm-commits mailing list