diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-03-05 22:45:40 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-03-05 22:45:40 +0000 |
commit | e43dd1b8e7bcbb7bd38b90e05147c1d31ad41cb9 (patch) | |
tree | b72a654f42f345c73b1be439bd5295f5b94583f0 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | b21bf9a8d582a40142a322f508a2e8c2c2164893 (diff) |
Reformat comments to fix 80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index b2b0064e11..33ac4723a0 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -203,17 +203,18 @@ void LoopStrengthReduce::strengthReduceGEP(GetElementPtrInst *GEPI, Loop *L, Preheader->getTerminator()); } - // The next step of the strength reduction is to create a PHI that will choose - // between the initial GEP we created and inserted into the preheader, and - // the incremented GEP that we will create below and insert into the loop body + // The next step of the strength reduction is to create a PHI that will + // choose between the initial GEP we created and inserted into the + // preheader, and the incremented GEP that we will create below and insert + // into the loop body. NewPHI = new PHINode(PreGEP->getType(), GEPI->getName()+".str", InsertBefore); NewPHI->addIncoming(PreGEP, Preheader); - // Now, create the GEP instruction to increment by one the value selected by - // the PHI instruction we just created above, and add it as the second - // incoming Value/BasicBlock pair to the PHINode. It is inserted before the - // increment of the canonical induction variable. + // Now, create the GEP instruction to increment by one the value selected + // by the PHI instruction we just created above, and add it as the second + // incoming Value/BasicBlock pair to the PHINode. It is inserted before + // the increment of the canonical induction variable. Instruction *IncrInst = const_cast<Instruction*>(L->getCanonicalInductionVariableIncrement()); GetElementPtrInst *StrGEP = new GetElementPtrInst(NewPHI, inc_op_vector, |