This is an archive of the discontinued LLVM Phabricator instance.

[NFC][IntrRefLDV] Remove dead code from transferSpillOrRestoreInst()
ClosedPublic

Authored by djtodoro on Nov 5 2020, 7:20 AM.

Diff Detail

Event Timeline

djtodoro created this revision.Nov 5 2020, 7:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 5 2020, 7:20 AM
djtodoro requested review of this revision.Nov 5 2020, 7:20 AM
jmorse accepted this revision.Nov 13 2020, 7:22 AM

LGTM; the point of the "Emulate VarLocBasedLDV" flag was to help prove that the overall algorithm matched what was already produced by LiveDebugValues. Seeing how the approach seems to be (broadly?) accepted / acceptable, it's to just ditch the flag altogether, it doesn't serve any purpose now IMO.

This revision is now accepted and ready to land.Nov 13 2020, 7:22 AM

OK, IMPO we can go with removing it completely from the source.

This revision was landed with ongoing or failed builds.Nov 13 2020, 7:54 AM
This revision was automatically updated to reflect the committed changes.