OSDN Git Service

Fix a comment.
authorOwen Anderson <resistor@mac.com>
Sat, 21 Apr 2007 07:12:44 +0000 (07:12 +0000)
committerOwen Anderson <resistor@mac.com>
Sat, 21 Apr 2007 07:12:44 +0000 (07:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36299 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LICM.cpp
lib/Transforms/Utils/PromoteMemoryToRegister.cpp

index 3b71497..1ed490d 100644 (file)
@@ -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) {
index 25d9ef5..1508fbc 100644 (file)
@@ -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);