[llvm-commits] [llvm] r81361 - /llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Mike Stump
mrs at apple.com
Wed Sep 9 10:57:16 PDT 2009
Author: mrs
Date: Wed Sep 9 12:57:16 2009
New Revision: 81361
URL: http://llvm.org/viewvc/llvm-project?rev=81361&view=rev
Log:
Reflow comment.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp?rev=81361&r1=81360&r2=81361&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp Wed Sep 9 12:57:16 2009
@@ -941,10 +941,10 @@
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 @@
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
More information about the llvm-commits
mailing list