summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-10-28 11:53:30 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-10-28 11:53:30 +0000
commit335a7bcf1ea3834458847129be4b2454228d3fee (patch)
tree3538ad047a7f6aed733bdc1208cc8a7ca8796310 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parent314df7a5aabbc62a9dcc1132afb223c994621f81 (diff)
downloadbcm5719-llvm-335a7bcf1ea3834458847129be4b2454228d3fee.tar.gz
bcm5719-llvm-335a7bcf1ea3834458847129be4b2454228d3fee.zip
Untabify and whitespace cleanups.
llvm-svn: 220771
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 293c6262ddb..66aa8197430 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -2981,7 +2981,7 @@ void InnerLoopVectorizer::fixLCSSAPHIs() {
LCSSAPhi->addIncoming(UndefValue::get(LCSSAPhi->getType()),
LoopMiddleBlock);
}
-}
+}
InnerLoopVectorizer::VectorParts
InnerLoopVectorizer::createEdgeMask(BasicBlock *Src, BasicBlock *Dst) {
@@ -3250,7 +3250,7 @@ void InnerLoopVectorizer::vectorizeBlockInLoop(BasicBlock *BB, PhiVector *PV) {
if (BinaryOperator *VecOp = dyn_cast<BinaryOperator>(V))
VecOp->copyIRFlags(BinOp);
-
+
Entry[Part] = V;
}
@@ -4268,8 +4268,8 @@ void AccessAnalysis::processMemAccesses() {
if (IsWrite)
SetHasWrite = true;
- // Create sets of pointers connected by a shared alias set and
- // underlying object.
+ // Create sets of pointers connected by a shared alias set and
+ // underlying object.
typedef SmallVector<Value*, 16> ValueVector;
ValueVector TempObjects;
GetUnderlyingObjects(Ptr, TempObjects, DL);
@@ -5396,7 +5396,7 @@ LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize) {
// If the trip count that we found modulo the vectorization factor is not
// zero then we require a tail.
if (VF < 2) {
- emitAnalysis(Report() << "cannot optimize for size and vectorize at the same time. Enable vectorization of this loop with '#pragma clang loop vectorize(enable)' when compiling with -Os");
+ emitAnalysis(Report() << "cannot optimize for size and vectorize at the same time. Enable vectorization of this loop with '#pragma clang loop vectorize(enable)' when compiling with -Os");
DEBUG(dbgs() << "LV: Aborting. A tail loop is required in Os.\n");
return Factor;
}
OpenPOWER on IntegriCloud