From adec28351388d016c0770e6d749b1a127af33a80 Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Mon, 30 Jan 2017 07:38:58 +0000 Subject: [PATCH] [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 --- llvm/docs/LangRef.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 550e86b05020..47d96290e6eb 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -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]]; }