[llvm-commits] [llvm] r166128 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Roman Divacky
rdivacky at freebsd.org
Wed Oct 17 14:07:36 PDT 2012
Author: rdivacky
Date: Wed Oct 17 16:07:35 2012
New Revision: 166128
URL: http://llvm.org/viewvc/llvm-project?rev=166128&view=rev
Log:
Fix some typos and wrong indenting.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=166128&r1=166127&r2=166128&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Wed Oct 17 16:07:35 2012
@@ -365,7 +365,7 @@
Cloned->setOperand(op, Op);
}
- // Place the clonsed scalar in the new loop.
+ // Place the cloned scalar in the new loop.
Builder->Insert(Cloned);
// If the original scalar returns a value we need to place it in a vector
@@ -432,7 +432,7 @@
PH->getTerminator()->setSuccessor(0, BB);
Builder->SetInsertPoint(BB->getFirstInsertionPt());
- // Save the indiction variables.
+ // Save the induction variables.
Induction = Phi;
OldInduction = OldInd;
}
@@ -442,7 +442,7 @@
// For each instruction in the old loop.
for (BasicBlock::iterator it = BB.begin(), e = BB.end(); it != e; ++it) {
- Instruction *Inst = it;
+ Instruction *Inst = it;
switch (Inst->getOpcode()) {
case Instruction::PHI:
@@ -677,7 +677,7 @@
}
}
- // IF this is a load, record its pointer. If it is not a load, abort.
+ // If this is a load, record its pointer. If it is not a load, abort.
// Notice that we don't handle function calls that read or write.
if (I->mayReadFromMemory()) {
LoadInst *Ld = dyn_cast<LoadInst>(I);
More information about the llvm-commits
mailing list