forked from OSchip/llvm-project
[FunctionImport] Delete unneeded setLive. NFC
ValueInfo's in Worklist are guaranteed to be live.
This commit is contained in:
parent
494b5ba364
commit
fb2cf0dd60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue