mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 15:41:05 +00:00
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dd23d7ede6
commit
7726f8808d
@ -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…
x
Reference in New Issue
Block a user