[PATCH] D136383: [PartialInlining] Enable recursive partial inlining.

Mark Lacey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 13:52:56 PST 2022


rudkx added a comment.

In D136383#3922395 <https://reviews.llvm.org/D136383#3922395>, @aeubanks wrote:

> are you see that this is beneficial in practice?

Yes, I have an internal test case for which this results in the only references to a pointer argument being moved out of the function, which then allows dead argument elimination to remove that argument, which further results in that stack data that was being passed indirectly to be split by SROA and moved off the stack into registers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136383



More information about the llvm-commits mailing list