mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Reflow comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff5dfdff56
commit
c02f0d7e4b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user