[PATCH] D27373: [PM] Get rid of an unused variable in AnalysisManager::clear(IRUnitT&).

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 3 11:59:45 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL288597: [PM] Get rid of an unused variable in AnalysisManager::clear(IRUnitT&). (authored by jlebar).

Changed prior to commit:
  https://reviews.llvm.org/D27373?vs=80148&id=80189#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D27373

Files:
  llvm/trunk/include/llvm/IR/PassManager.h


Index: llvm/trunk/include/llvm/IR/PassManager.h
===================================================================
--- llvm/trunk/include/llvm/IR/PassManager.h
+++ llvm/trunk/include/llvm/IR/PassManager.h
@@ -469,9 +469,6 @@
     if (DebugLogging)
       dbgs() << "Clearing all analysis results for: " << IR.getName() << "\n";
 
-    // Clear all the invalidated results associated specifically with this
-    // function.
-    SmallVector<AnalysisKey *, 8> InvalidatedIDs;
     auto ResultsListI = AnalysisResultLists.find(&IR);
     if (ResultsListI == AnalysisResultLists.end())
       return;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27373.80189.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161203/5e25c457/attachment.bin>


More information about the llvm-commits mailing list