This is an archive of the discontinued LLVM Phabricator instance.

[PostRASink] extend the live-in check for all aliased registers
AcceptedPublic

Authored by junbuml on Apr 19 2018, 7:18 AM.

Details

Summary

Extend the live-in check for all aliased registers so that we can
allow sinking Copy instructions even when only implicit def is in successor's
live-in.

Diff Detail

Event Timeline

junbuml created this revision.Apr 19 2018, 7:18 AM
qcolombet accepted this revision.Apr 23 2018, 1:23 PM

Hi,

LGTM with small nits.

Cheers,
Quentin

lib/CodeGen/MachineSink.cpp
987–988

This should be const, right?

1011–1012

Ditto

This revision is now accepted and ready to land.Apr 23 2018, 1:23 PM
junbuml updated this revision to Diff 143769.Apr 24 2018, 9:21 AM

Thanks Quentin for the review.

junbuml marked 2 inline comments as done.Apr 24 2018, 9:22 AM