[llvm] r203738 - Fix whitespace in vectorizer example

Arnold Schwaighofer aschwaighofer at apple.com
Wed Mar 12 16:58:08 PDT 2014


Author: arnolds
Date: Wed Mar 12 18:58:07 2014
New Revision: 203738

URL: http://llvm.org/viewvc/llvm-project?rev=203738&view=rev
Log:
Fix whitespace in vectorizer example

Modified:
    llvm/trunk/docs/Vectorizers.rst

Modified: llvm/trunk/docs/Vectorizers.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Vectorizers.rst?rev=203738&r1=203737&r2=203738&view=diff
==============================================================================
--- llvm/trunk/docs/Vectorizers.rst (original)
+++ llvm/trunk/docs/Vectorizers.rst Wed Mar 12 18:58:07 2014
@@ -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





More information about the llvm-commits mailing list