From a62db213e304538c217b9732c3e12bac0dad5279 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Sat, 3 Dec 2016 19:49:31 +0000 Subject: [PATCH] [PM] Get rid of an unused variable in AnalysisManager::clear(IRUnitT&). Reviewers: chandlerc Subscribers: silvas, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D27373 llvm-svn: 288597 --- include/llvm/IR/PassManager.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/llvm/IR/PassManager.h b/include/llvm/IR/PassManager.h index ccc35d0194a..92e2997bbc2 100644 --- a/include/llvm/IR/PassManager.h +++ b/include/llvm/IR/PassManager.h @@ -469,9 +469,6 @@ public: if (DebugLogging) dbgs() << "Clearing all analysis results for: " << IR.getName() << "\n"; - // Clear all the invalidated results associated specifically with this - // function. - SmallVector InvalidatedIDs; auto ResultsListI = AnalysisResultLists.find(&IR); if (ResultsListI == AnalysisResultLists.end()) return;