[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:
Alexey Bader 2017-01-30 07:38:58 +00:00
parent 08155c9a54
commit adec283513
1 changed files with 1 additions and 1 deletions

View File

@ -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]];
}