[PATCH] D29009: [LanRef] Fix typo in getelementptr example.
Alexey Bader via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 03:29:48 PST 2017
bader created this revision.
Change B type from double to pointer to double.
https://reviews.llvm.org/D29009
Files:
docs/LangRef.rst
Index: docs/LangRef.rst
===================================================================
--- docs/LangRef.rst
+++ docs/LangRef.rst
@@ -7666,7 +7666,7 @@
.. code-block:: c
// Let's assume that we vectorize the following loop:
- double *A, B; int *C;
+ double *A, *B; int *C;
for (int i = 0; i < size; ++i) {
A[i] = B[C[i]];
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29009.85340.patch
Type: text/x-patch
Size: 359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/8a37658c/attachment.bin>
More information about the llvm-commits
mailing list