1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Fix a comment.

llvm-svn: 36299
This commit is contained in:
Owen Anderson 2007-04-21 07:12:44 +00:00
parent 2767bc3188
commit 9813f7fa80
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ void LICM::SinkRegion(BasicBlock *BB) {
/// HoistRegion - Walk the specified region of the CFG (defined by all blocks /// 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 /// 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. /// before uses, allowing us to hoist a loop body in one pass without iteration.
/// ///
void LICM::HoistRegion(BasicBlock *BB) { void LICM::HoistRegion(BasicBlock *BB) {

View File

@ -142,7 +142,7 @@ namespace {
return ET.properlyDominates(I1->getParent(), I2->getParent()); 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 { bool dominates(BasicBlock *BB1, BasicBlock *BB2) const {
return ET.dominates(BB1, BB2); return ET.dominates(BB1, BB2);