[PATCH] D136774: [Outliner] Add an option to only enable outlining of patterns above a certain threshold

Nathan Lanza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 10:25:45 PDT 2022


lanza added a comment.

I've found internally that the value here has heavy variance. ~35 is best for uncompressed code on aarch64 Linux with `.eh_frame`. ~5 seems best for armv7 Linux with `.eh_frame`. If you're using compression then many outlinings are wasteful compared to compressibility and various project-specific results come out with this parameter finding optimal values up through many hundreds.

What's everybody's thoughts on adding such a flag?


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

https://reviews.llvm.org/D136774



More information about the llvm-commits mailing list