[PATCH] D32563: Add LiveRangeShrink pass to shrink live range within BB.

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 13:05:29 PDT 2017


FWIW: I agree with David that this is probably the right approach for this.
Thanks for being willing to do it.



On Fri, Apr 28, 2017 at 10:23 AM, David Li via Phabricator <
reviews at reviews.llvm.org> wrote:

> davidxl added a comment.
>
> A couple of comments:
>
> 1. Moving it out of the reassociation pass is probably the right direction
> to go.
> 2. having this pass allows future enhancement
> 3. This actually allows you to do more aggressive expression operand
> re-ordering (to enable more shrinking) -- but to void offsetting
> reassocation's effect (to enable cse,  constant folding, loop invariant
> code motion etc), the shrink pass should be pushed very late in the
> pipeline.
>
>
> https://reviews.llvm.org/D32563
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170428/6260fb46/attachment.html>


More information about the llvm-commits mailing list