[PATCH] D41765: [CodeGen] Provide an advanced shrink-wrapping interface
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 11:22:19 PST 2018
thegameg added a comment.
In https://reviews.llvm.org/D41765#968616, @junbuml wrote:
> Through this change, do you intend to support the partial shrink-wrapping? What other extensions are you planning on after this change?
After this change I want to experiment with shrink-wrapping CSRs separately and have one save point per register. This would still use the current dominator-based algorithm and would basically allow us to fix all the issues that we encounter in terms of unwinding, debugging, PEI and FrameLowering assumptions about prologues and epilogues, etc.
Then the bigger plan is to integrate https://reviews.llvm.org/D30808 in tree and iterate on it until the results are satisfying enough to switch to it as the default algorithm, but IMO a lot of work will have to go into actually supporting "partial shrink-wrapping" than the algorithm itself.
More information about the llvm-commits