[PATCH] D32563: Improve code placement algorithm in Reassociate pass.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 13:01:35 PDT 2017


danielcdh added a comment.

In https://reviews.llvm.org/D32563#738749, @davide wrote:

> In https://reviews.llvm.org/D32563#738746, @dberlin wrote:
>
> > Can you please describe the actual algorithm you are trying to use for placement here?
>
>
> Also, do you have performance numbers?


I've tested the patch on speccpu2006, it has no impact on performance. But it can greatly benefit a google internal benchmark by reducing the register pressure (code pattern illustrated by the added unittest).


https://reviews.llvm.org/D32563





More information about the llvm-commits mailing list