This is an archive of the discontinued LLVM Phabricator instance.

[LazyCallGraph] Ignore empty RefSCCs rather than shift RefSCCs when removing dead functions
ClosedPublic

Authored by aeubanks on Jan 6 2022, 3:56 PM.

Details

Summary

This is in preparation for D115545 which attempts to delete discardable functions if they are unused. With that change, shifting RefSCCs becomes noticeable in compile time. This change makes the LCG update negligible again.

Diff Detail

Event Timeline

aeubanks created this revision.Jan 6 2022, 3:56 PM
aeubanks requested review of this revision.Jan 6 2022, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 6 2022, 3:56 PM
nikic accepted this revision.Jan 7 2022, 12:04 AM

LGTM

This revision is now accepted and ready to land.Jan 7 2022, 12:04 AM