This is an archive of the discontinued LLVM Phabricator instance.

RegisterCoalescer: Fix not setting undef on coalesced subregister uses
ClosedPublic

Authored by arsenm on Dec 11 2020, 2:34 PM.

Details

Summary

This was only adding undef to the use if the copy itself had a
subregister index. It did not consider the subrange liveness if the
use had a subreg index to begin with.

Diff Detail

Event Timeline

arsenm created this revision.Dec 11 2020, 2:34 PM
arsenm requested review of this revision.Dec 11 2020, 2:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 11 2020, 2:34 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm planned changes to this revision.Dec 11 2020, 5:25 PM

Found another broken case

arsenm updated this revision to Diff 311350.Dec 11 2020, 6:19 PM

Fix patch cleanup breakage

qcolombet accepted this revision.Feb 3 2021, 10:13 AM
This revision is now accepted and ready to land.Feb 3 2021, 10:13 AM