forked from OSchip/llvm-project
[LanRef] Fix typo in getelementptr example.
Summary: Change B type from double to pointer to double. Reviewers: delena, sanjoy Reviewed By: sanjoy Subscribers: sanjoy, llvm-commits Differential Revision: https://reviews.llvm.org/D29009 llvm-svn: 293467
This commit is contained in:
parent
08155c9a54
commit
adec283513
|
@ -7679,7 +7679,7 @@ makes sense:
|
|||
.. 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]];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue