summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit0e52a0c89ebfdfa7d7d411b74faa4a79bf204506 (patch)
treed7e92571633140ed5ab5e0afe9cda3d811911461 /llvm
parentdfc7b3d3296a6d80f22076a429d39e08ec082c51 (diff)
downloadbcm5719-llvm-0e52a0c89ebfdfa7d7d411b74faa4a79bf204506.tar.gz
bcm5719-llvm-0e52a0c89ebfdfa7d7d411b74faa4a79bf204506.zip
Fix spelling of "hierarchy" in comments.
llvm-svn: 53489
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/LoopPass.h4
-rw-r--r--llvm/include/llvm/PassManagers.h4
-rw-r--r--llvm/lib/Analysis/LoopPass.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/Analysis/LoopPass.h b/llvm/include/llvm/Analysis/LoopPass.h
index ef7c71380bc..60ad0d95190 100644
--- a/llvm/include/llvm/Analysis/LoopPass.h
+++ b/llvm/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/llvm/include/llvm/PassManagers.h b/llvm/include/llvm/PassManagers.h
index d37691311cf..bac962612f9 100644
--- a/llvm/include/llvm/PassManagers.h
+++ b/llvm/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/llvm/lib/Analysis/LoopPass.cpp b/llvm/lib/Analysis/LoopPass.cpp
index 4cbafab7b07..460a1b04f70 100644
--- a/llvm/lib/Analysis/LoopPass.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud