[PATCH] D41463: [CodeGen] Add a new pass to sink Copy instructions after RA

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 13:20:23 PST 2018


thegameg added a comment.

In https://reviews.llvm.org/D41463#986976, @junbuml wrote:

> > Is there anything preventing us to sink this even deeper than "one of the successors"? I think we should go further with this instead of special casing this particular issue.
>
> As long as there is no the register dependency, we can continue sinking a COPY deeply. I believe sinkcopy5() in post-ra-machine-sink.mir shows this case.


Great! Sorry, I didn't see that all the potential successors were added to the list.


https://reviews.llvm.org/D41463





More information about the llvm-commits mailing list