diff options
| author | Owen Anderson <resistor@mac.com> | 2007-04-21 07:12:44 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2007-04-21 07:12:44 +0000 |
| commit | 2965adb8493b46d1fd7a069a04a42299b038627a (patch) | |
| tree | 2f6eed6b8e01a2eed2f399099b8894c427560dec /llvm/lib | |
| parent | 94e1d9aa396d964ed7fe0b404e234f8ab22f4d77 (diff) | |
| download | bcm5719-llvm-2965adb8493b46d1fd7a069a04a42299b038627a.tar.gz bcm5719-llvm-2965adb8493b46d1fd7a069a04a42299b038627a.zip | |
Fix a comment.
llvm-svn: 36299
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index 3b71497dcb1..1ed490d294d 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/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/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index 25d9ef50eca..1508fbc5edf 100644 --- a/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/llvm/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); |

