projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c27fa3
)
[Docs] Fix incorrect return type for example code
author
Jim Lin
<jim@andestech.com>
Wed, 9 Jun 2021 07:19:43 +0000
(15:19 +0800)
committer
Jim Lin
<jim@andestech.com>
Wed, 9 Jun 2021 07:22:49 +0000
(15:22 +0800)
llvm/docs/Vectorizers.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/Vectorizers.rst
b/llvm/docs/Vectorizers.rst
index
7a827fb
..
a6565d4
100644
(file)
--- a/
llvm/docs/Vectorizers.rst
+++ b/
llvm/docs/Vectorizers.rst
@@
-254,7
+254,7
@@
The Loop Vectorizer can vectorize loops that count backwards.
.. code-block:: c++
-
int
foo(int *A, int n) {
+
void
foo(int *A, int n) {
for (int i = n; i > 0; --i)
A[i] +=1;
}