This is an archive of the discontinued LLVM Phabricator instance.

RegAlloc: Fix remaining virtual registers after allocation failure
ClosedPublic

Authored by arsenm on Mar 28 2022, 6:08 AM.

Details

Reviewers
qcolombet
MatzeB
Summary

This testcase fails register allocation, but at the failure point
there were also new split virtual registers. Previously this was
assigning the failing register and not enqueueing the newly created
split virtual registers. These would then never be allocated and
assert in VirtRegRewriter.

Diff Detail

Event Timeline

arsenm created this revision.Mar 28 2022, 6:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2022, 6:08 AM
arsenm requested review of this revision.Mar 28 2022, 6:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2022, 6:08 AM
Herald added a subscriber: wdng. · View Herald Transcript
qcolombet accepted this revision.Apr 13 2022, 11:24 AM
This revision is now accepted and ready to land.Apr 13 2022, 11:24 AM