summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-04-21 07:12:44 +0000
committerOwen Anderson <resistor@mac.com>2007-04-21 07:12:44 +0000
commitcdacc498e45604f1b8034102e7d7ec5212535802 (patch)
treefea522fb9ddb4a98237d116bb2983bddbd059972 /lib
parent95b745a52eeb94a2be8ffa32e6d32aeadf3613cc (diff)
downloadllvm-cdacc498e45604f1b8034102e7d7ec5212535802.tar.gz
llvm-cdacc498e45604f1b8034102e7d7ec5212535802.tar.bz2
llvm-cdacc498e45604f1b8034102e7d7ec5212535802.tar.xz
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/LICM.cpp2
-rw-r--r--lib/Transforms/Utils/PromoteMemoryToRegister.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp
index 3b71497dcb..1ed490d294 100644
--- a/lib/Transforms/Scalar/LICM.cpp
+++ b/lib/Transforms/Scalar/LICM.cpp
@@ -307,7 +307,7 @@ void LICM::SinkRegion(BasicBlock *BB) {
/// HoistRegion - Walk the specified region of the CFG (defined by all blocks
/// dominated by the specified block, and that are in the current loop) in depth
-/// first order w.r.t the DominatorTree. This allows us to visit definitions
+/// first order w.r.t the ETForest. This allows us to visit definitions
/// before uses, allowing us to hoist a loop body in one pass without iteration.
///
void LICM::HoistRegion(BasicBlock *BB) {
diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
index 25d9ef50ec..1508fbc5ed 100644
--- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
+++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
@@ -142,7 +142,7 @@ namespace {
return ET.properlyDominates(I1->getParent(), I2->getParent());
}
- /// dominates - Return true if BB1 dominates BB2 using the DominatorTree.
+ /// dominates - Return true if BB1 dominates BB2 using the ETForest.
///
bool dominates(BasicBlock *BB1, BasicBlock *BB2) const {
return ET.dominates(BB1, BB2);