[FunctionImport] Delete unneeded setLive. NFC

ValueInfo's in Worklist are guaranteed to be live.
This commit is contained in:
Fangrui Song 2021-03-06 14:09:54 -08:00
parent 494b5ba364
commit fb2cf0dd60
1 changed files with 0 additions and 1 deletions

View File

@ -914,7 +914,6 @@ void llvm::computeDeadSymbols(
while (!Worklist.empty()) {
auto VI = Worklist.pop_back_val();
for (auto &Summary : VI.getSummaryList()) {
Summary->setLive(true);
if (auto *AS = dyn_cast<AliasSummary>(Summary.get())) {
// If this is an alias, visit the aliasee VI to ensure that all copies
// are marked live and it is added to the worklist for further