Page MenuHomePhabricator

[X86] Fix bug in -mlvi-cfi that may clobber a live register

Authored by sconstab on Oct 6 2020, 2:00 PM.



Fix for this bug:

The fix uses the existing findDeadCallerSavedReg() function instead of a hacky heuristic to find a scratch register to clobber.

Diff Detail

Event Timeline

sconstab created this revision.Oct 6 2020, 2:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2020, 2:00 PM
sconstab requested review of this revision.Oct 6 2020, 2:00 PM
This revision is now accepted and ready to land.Oct 6 2020, 8:26 PM
sconstab accepted this revision.Oct 7 2020, 4:05 PM


This revision was automatically updated to reflect the committed changes.