diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-02 16:53:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-02 16:53:43 +0000 |
commit | 684b22df79c51114a12289e10a4063d5f02259a9 (patch) | |
tree | 8ea26cc892c646ba3d48a0c00ff98e843cc1e580 /lib/Transforms/Scalar/LoopUnswitch.cpp | |
parent | 1ff61385c8feb655a1e70cc67999680cc93f0f67 (diff) |
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
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnswitch.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopUnswitch.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index 6b4d6376f2..130db9fe41 100644 --- a/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -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; |