[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
Fri Dec 2 16:02:29 PST 2016
jlebar created this revision.
jlebar added a reviewer: chandlerc.
jlebar added subscribers: llvm-commits, silvas.
Herald added a subscriber: mehdi_amini.
https://reviews.llvm.org/D27373
Files:
llvm/include/llvm/IR/PassManager.h
Index: llvm/include/llvm/IR/PassManager.h
===================================================================
--- llvm/include/llvm/IR/PassManager.h
+++ llvm/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.80148.patch
Type: text/x-patch
Size: 581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161203/c487477c/attachment.bin>
More information about the llvm-commits
mailing list