mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
wrap some long lines. Major offenders that are left include
gvn, gvnpre, dse, and predsimplify. To see these, use: make check-line-length git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -425,7 +425,8 @@ static inline void RemapInstruction(Instruction *I,
|
||||
}
|
||||
}
|
||||
|
||||
// CloneDomInfo - NewBB is cloned from Orig basic block. Now clone Dominator Info.
|
||||
// CloneDomInfo - NewBB is cloned from Orig basic block. Now clone Dominator
|
||||
// Info.
|
||||
//
|
||||
// If Orig block's immediate dominator is mapped in VM then use corresponding
|
||||
// immediate dominator from the map. Otherwise Orig block's dominator is also
|
||||
@ -1113,7 +1114,8 @@ void LoopUnswitch::SimplifyCode(std::vector<Instruction*> &Worklist, Loop *L) {
|
||||
switch (I->getOpcode()) {
|
||||
case Instruction::Select:
|
||||
if (ConstantInt *CB = dyn_cast<ConstantInt>(I->getOperand(0))) {
|
||||
ReplaceUsesOfWith(I, I->getOperand(!CB->getZExtValue()+1), Worklist, L, LPM);
|
||||
ReplaceUsesOfWith(I, I->getOperand(!CB->getZExtValue()+1), Worklist, L,
|
||||
LPM);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user