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

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 10:23:36 PDT 2017


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





More information about the llvm-commits mailing list