Reformat partially, where I touched for whitespace changes.
[oota-llvm.git] / lib / Transforms / Vectorize / LoopVectorize.cpp
index 66aa8197430c5ef9864dca0b90acd802f63b4cda..a62c0f9f00205aa0e800d250b872a8e12bb70efd 100644 (file)
@@ -4270,7 +4270,7 @@ void AccessAnalysis::processMemAccesses() {
 
         // Create sets of pointers connected by a shared alias set and
         // underlying object.
-        typedef SmallVector<Value*, 16> ValueVector;
+        typedef SmallVector<Value *, 16> ValueVector;
         ValueVector TempObjects;
         GetUnderlyingObjects(Ptr, TempObjects, DL);
         for (Value *UnderlyingObj : TempObjects) {
@@ -5396,7 +5396,10 @@ 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;
     }