aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-09-09 17:57:16 +0000
committerMike Stump <mrs@apple.com>2009-09-09 17:57:16 +0000
commitc02f0d7e4b60a10d4b0eb0bd1409550174efff81 (patch)
tree03b107b41296e98a46ee9395bc2531ac2e64039b /lib/Transforms
parentff5dfdff56dc2355a6c4740623dddd5fab40d885 (diff)
downloadexternal_llvm-c02f0d7e4b60a10d4b0eb0bd1409550174efff81.zip
external_llvm-c02f0d7e4b60a10d4b0eb0bd1409550174efff81.tar.gz
external_llvm-c02f0d7e4b60a10d4b0eb0bd1409550174efff81.tar.bz2
Reflow comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/LoopUnswitch.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp
index 5ecaaef..b1f4214 100644
--- a/lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/lib/Transforms/Scalar/LoopUnswitch.cpp
@@ -941,10 +941,10 @@ void LoopUnswitch::RewriteLoopBodyWithConditionConstant(Loop *L, Value *LIC,
PHINode *PN = dyn_cast<PHINode>(II); ++II)
PN->setIncomingValue(PN->getBasicBlockIndex(Switch),
UndefValue::get(PN->getType()));
- // Tell the domtree about the new block. We don't fully update
- // the domtree here -- instead we force it to do a full
- // recomputation after the pass is complete -- but we do need to
- // inform it of new blocks.
+ // Tell the domtree about the new block. We don't fully update the
+ // domtree here -- instead we force it to do a full recomputation
+ // after the pass is complete -- but we do need to inform it of
+ // new blocks.
if (DT)
DT->addNewBlock(Abort, NewSISucc);
break;
@@ -960,7 +960,7 @@ void LoopUnswitch::RewriteLoopBodyWithConditionConstant(Loop *L, Value *LIC,
SimplifyCode(Worklist, L);
}
-/// SimplifyCode - Okay, now that we have simplified some instructions in the
+/// SimplifyCode - Okay, now that we have simplified some instructions in the
/// loop, walk over it and constant prop, dce, and fold control flow where
/// possible. Note that this is effectively a very simple loop-structure-aware
/// optimizer. During processing of this loop, L could very well be deleted, so