This is an archive of the discontinued LLVM Phabricator instance.

[CoroSplit][NewPM] Don't call LazyCallGraph functions to split when no clones
ClosedPublic

Authored by aeubanks on Jan 7 2021, 12:48 PM.

Details

Summary

Apparently there can be no clones, as happens in
coro-retcon-unreachable.ll.

The alternative is to allow no split functions in
addSplitRefRecursiveFunctions(), but it seems better to have the caller
make sure it's not accidentally splitting no functions out.

Depends on D94257.

Diff Detail

Event Timeline

aeubanks created this revision.Jan 7 2021, 12:48 PM
aeubanks requested review of this revision.Jan 7 2021, 12:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 7 2021, 12:48 PM
rnk accepted this revision.Jan 7 2021, 1:02 PM

lgtm

This revision is now accepted and ready to land.Jan 7 2021, 1:02 PM