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;