[PATCH] D42600: [WIP][Shrink-wrap]split restore point

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 13:53:29 PST 2018


junbuml updated this revision to Diff 134496.
junbuml added a comment.

Based on the comments from Francis and Quentin, I tried to split the restore block only when we know that the block spilt is used as restore point.  After performing current shrink wrapping, I ran post shrinking to see if we can shrink save point further by splitting restore point.  Currently, this update is still WIP because I do this in shrink wrapping pass.  If this approach is generally reasonable and we need to keep the shrink-wrap pass as an analysis pass, then I will move this in a new pass between shrink-wrap and PEI.


https://reviews.llvm.org/D42600

Files:
  lib/CodeGen/ShrinkWrap.cpp
  test/CodeGen/AArch64/post-shrink-wrap-split-restore.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42600.134496.patch
Type: text/x-patch
Size: 18547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/efe490ad/attachment-0001.bin>


More information about the llvm-commits mailing list