summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/IR/PassManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/PassManager.h b/llvm/include/llvm/IR/PassManager.h
index 2d8f07f45f9..f6d8ece8bbf 100644
--- a/llvm/include/llvm/IR/PassManager.h
+++ b/llvm/include/llvm/IR/PassManager.h
@@ -523,8 +523,8 @@ public:
/// \brief Invalidate analyses cached for an IR unit.
///
- /// Walk through all of the analyses pertaining to this module and invalidate
- /// them unless they are preserved by the PreservedAnalyses set.
+ /// Walk through all of the analyses pertaining to this unit of IR and
+ /// invalidate them unless they are preserved by the PreservedAnalyses set.
void invalidate(IRUnitT IR, const PreservedAnalyses &PA) {
derived_this()->invalidateImpl(IR, PA);
}
OpenPOWER on IntegriCloud