This is an archive of the discontinued LLVM Phabricator instance.

[MachineOutliner] Freeze registers in new functions
ClosedPublic

Authored by gberry on Jan 31 2018, 10:43 AM.

Details

Summary

Call MRI.freezeReservedRegs() on functions created during outlining so
that calls to isReserved() by the verifier called after this pass won't
assert.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry created this revision.Jan 31 2018, 10:43 AM
This revision is now accepted and ready to land.Jan 31 2018, 10:48 AM
Andi added a subscriber: Andi.Jan 31 2018, 11:59 AM
This revision was automatically updated to reflect the committed changes.