This is an archive of the discontinued LLVM Phabricator instance.

RegAlloc: Fix assert if all registers in class reserved
ClosedPublic

Authored by arsenm on Jan 18 2021, 7:01 AM.

Details

Reviewers
qcolombet
MatzeB
Summary

With a context instruction, this would produce a context
error. However, it would continue on and do an out of bounds access of
the empty allocation order array.

Diff Detail

Event Timeline

arsenm created this revision.Jan 18 2021, 7:01 AM
arsenm requested review of this revision.Jan 18 2021, 7:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2021, 7:01 AM
Herald added a subscriber: wdng. · View Herald Transcript
qcolombet accepted this revision.Jan 28 2021, 10:21 AM
This revision is now accepted and ready to land.Jan 28 2021, 10:21 AM