Port BOLT inline to aarch64

Hello everyone.
I need to port BOLT’s inline feature to aarch64, is there any advise or information? Or any previous differential revision I can consult? Thanks.

The pass is target-independent and should work with aarch64. Which particular flags did you try?

  • -force-inline=funcname can be used to force inlining of specific functions,
  • -inline-small-functions with -inline-small-function-bytes is to focus on small functions only below a given threshold.