[PATCH] D105729: [AFDO] Merge function attributes after inlining

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 14:02:13 PDT 2021


wenlei added a comment.

I'm wondering whether it would be more future proof if `AttributeFuncs::mergeAttributesForInlining` is moved inside `InlineFunction`? Currently it's called right after `InlineFunction` for always inline, scc inline, and with this change sample loader inline too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105729/new/

https://reviews.llvm.org/D105729



More information about the llvm-commits mailing list