Fix whitespace in vectorizer example
authorArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 12 Mar 2014 23:58:07 +0000 (23:58 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 12 Mar 2014 23:58:07 +0000 (23:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203738 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Vectorizers.rst

index 823fd9e6702c5081f58d1f1c85b30741c21244a2..887ccaa8f8151b99d145afba0235bde5f58ad835 100644 (file)
@@ -184,7 +184,7 @@ that scatter/gathers memory.
 
   int foo(int * A, int * B, int n) {
     for (intptr_t i = 0; i < n; ++i)
-        A[i] += B[i*4];
+        A[i] += B[i * 4];
   }
 
 In many situations the cost model will inform LLVM that this is not beneficial