git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314807
91177308-0d34-0410-b5e6-
96231b3b80d8
// Make value live and add it to the worklist if it was not live before.
// FIXME: we should only make the prevailing copy live here
auto visit = [&](ValueInfo VI) {
- for (auto &S : VI.getSummaryList())
- S->setLive(true);
- ++LiveSymbols;
- Worklist.push_back(VI);
// FIXME: If we knew which edges were created for indirect call profiles,
// we could skip them here. Any that are live should be reached via
// other edges, e.g. reference edges. Otherwise, using a profile collected