aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-07-18 23:50:19 +0000
committerDevang Patel <dpatel@apple.com>2007-07-18 23:50:19 +0000
commitd6868a7dd1a9b80a26bb6fb593b4f7ad5141e365 (patch)
tree63b8cb7de8593eda7ba77ee12a87349ec240e5bc /lib
parentf9739585c0d07688b11d10b09e5c9dc05d1180bf (diff)
downloadexternal_llvm-d6868a7dd1a9b80a26bb6fb593b4f7ad5141e365.zip
external_llvm-d6868a7dd1a9b80a26bb6fb593b4f7ad5141e365.tar.gz
external_llvm-d6868a7dd1a9b80a26bb6fb593b4f7ad5141e365.tar.bz2
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/LoopUnswitch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp
index bd9d026..5caf01c 100644
--- a/lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/lib/Transforms/Scalar/LoopUnswitch.cpp
@@ -413,9 +413,9 @@ static inline void RemapInstruction(Instruction *I,
// immediate dominator from the map. Otherwise Orig block's dominator is also
// NewBB's dominator.
//
-// OrigPreheader is loop pre-header before this patch started
+// OrigPreheader is loop pre-header before this pass started
// updating CFG. NewPrehader is loops new pre-header. However, after CFG
-// manipulation, loop L may not exist. So rely in input parameter NewPreheader.
+// manipulation, loop L may not exist. So rely on input parameter NewPreheader.
void CloneDomInfo(BasicBlock *NewBB, BasicBlock *Orig,
BasicBlock *NewPreheader, BasicBlock *OrigPreheader,
BasicBlock *OrigHeader,