[PATCH] D39536: [PowerPC] Eliminate redundant register copys after register allocation

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 00:57:45 PST 2018


inouehrs added a comment.

In https://reviews.llvm.org/D39536#996106, @nemanjai wrote:

> Now that https://reviews.llvm.org/rL323991 has actually landed, can you re-evaluate whether this patch is still applicable and if so, whether it needs any changes. Also, have you looked into Hal's suggestion?


As long as I tested, COPY source forwarding (https://reviews.llvm.org/rL323991) does not affect this optimization. The number of optimizations happen in this pass are mostly unchanged by enabling/disabling the COPY source forwarding (11730 with COPY source forwarding and 11242 without COPY source forwarding during the bootstrap test).

Also, I updated the patch to address Hal's suggestion.


https://reviews.llvm.org/D39536





More information about the llvm-commits mailing list