Page MenuHomePhabricator

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

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

Details

Summary

Fix for this bug: https://bugs.llvm.org/show_bug.cgi?id=47740

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

LGTM

This revision was automatically updated to reflect the committed changes.