summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-11 22:51:32 +0000
committerDan Gohman <gohman@apple.com>2008-07-11 22:51:32 +0000
commite6acf36dca9864c6ead9113f0322f174469810cc (patch)
tree19289307c94c012623c31962436b3dcfe277996b
parente4f1a7e8ffbfe48e2c0b9180d8aaef3f64e532ed (diff)
downloadllvm-e6acf36dca9864c6ead9113f0322f174469810cc.tar.gz
llvm-e6acf36dca9864c6ead9113f0322f174469810cc.tar.bz2
llvm-e6acf36dca9864c6ead9113f0322f174469810cc.tar.xz
Fix spelling of "hierarchy" in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53489 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/LoopPass.h4
-rw-r--r--include/llvm/PassManagers.h4
-rw-r--r--lib/Analysis/LoopPass.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h
index ef7c71380b..60ad0d9519 100644
--- a/include/llvm/Analysis/LoopPass.h
+++ b/include/llvm/Analysis/LoopPass.h
@@ -68,7 +68,7 @@ class LoopPass : public Pass {
/// SimpleAnalysis - Provides simple interface to update analysis info
/// maintained by various passes. Note, if required this interface can
/// be extracted into a separate abstract class but it would require
- /// additional use of multiple inheritance in Pass class hierarcy, something
+ /// additional use of multiple inheritance in Pass class hierarchy, something
/// we are trying to avoid.
/// Each loop pass can override these simple analysis hooks to update
@@ -134,7 +134,7 @@ public:
/// SimpleAnalysis - Provides simple interface to update analysis info
/// maintained by various passes. Note, if required this interface can
/// be extracted into a separate abstract class but it would require
- /// additional use of multiple inheritance in Pass class hierarcy, something
+ /// additional use of multiple inheritance in Pass class hierarchy, something
/// we are trying to avoid.
/// cloneBasicBlockSimpleAnalysis - Invoke cloneBasicBlockAnalysis hook for
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h
index d37691311c..bac962612f 100644
--- a/include/llvm/PassManagers.h
+++ b/include/llvm/PassManagers.h
@@ -28,8 +28,8 @@
//
// Pass Manager Infrastructure uses multiple pass managers. They are
// PassManager, FunctionPassManager, MPPassManager, FPPassManager, BBPassManager.
-// This class hierarcy uses multiple inheritance but pass managers do not derive
-// from another pass manager.
+// This class hierarchy uses multiple inheritance but pass managers do not
+// derive from another pass manager.
//
// PassManager and FunctionPassManager are two top-level pass manager that
// represents the external interface of this entire pass manager infrastucture.
diff --git a/lib/Analysis/LoopPass.cpp b/lib/Analysis/LoopPass.cpp
index 4cbafab7b0..460a1b04f7 100644
--- a/lib/Analysis/LoopPass.cpp
+++ b/lib/Analysis/LoopPass.cpp
@@ -32,7 +32,7 @@ LPPassManager::LPPassManager(int Depth)
CurrentLoop = NULL;
}
-/// Delete loop from the loop queue and loop hierarcy (LoopInfo).
+/// Delete loop from the loop queue and loop hierarchy (LoopInfo).
void LPPassManager::deleteLoopFromQueue(Loop *L) {
if (Loop *ParentLoop = L->getParentLoop()) { // Not a top-level loop.