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

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 14:03:48 PST 2018


junbuml created this revision.
junbuml added reviewers: qcolombet, thegameg.
Herald added subscribers: javed.absar, mcrosier.

This change split a restore point to allow it to only post-dominate blocks reachable by use or def of CSRs/FI.

This is a WIP and I'm posting it to continue the discussion about :

  Bugzilla : https://bugs.llvm.org/show_bug.cgi?id=33868

I will be happy to hear any high level comment/suggestion.

This change itself increase 15% more shrink-wrapping in spec2000/2006/2017 benchmarks. I observed 160% more shrink-wrapping in spec2000/2006/2017 benchmarks if we apply the copy forwarding (https://reviews.llvm.org/D41835), PostRASink (https://reviews.llvm.org/D41463), and this change all together.


https://reviews.llvm.org/D42600

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42600.131648.patch
Type: text/x-patch
Size: 5283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180126/1a7d823a/attachment.bin>


More information about the llvm-commits mailing list