summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2014-03-12 23:58:07 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2014-03-12 23:58:07 +0000
commit8d4693213721e33ac843d7d0f322e71ff3604c03 (patch)
treec2a950bc5d5ce2d82984b210e1beea46924599f5
parent6a7d263e8b86d13efa04a7fc64ec37103d03d73e (diff)
downloadllvm-8d4693213721e33ac843d7d0f322e71ff3604c03.tar.gz
llvm-8d4693213721e33ac843d7d0f322e71ff3604c03.tar.bz2
llvm-8d4693213721e33ac843d7d0f322e71ff3604c03.tar.xz
Fix whitespace in vectorizer example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203738 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/Vectorizers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Vectorizers.rst b/docs/Vectorizers.rst
index 823fd9e670..887ccaa8f8 100644
--- a/docs/Vectorizers.rst
+++ b/docs/Vectorizers.rst
@@ -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