[llvm] Update GetElementPtr.rst (PR #127393)

Omar Hossam via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 22:58:35 PST 2025


https://github.com/moar55 updated https://github.com/llvm/llvm-project/pull/127393

>From ce33fd62a518c1e8eade8732d7e24f9b94eea544 Mon Sep 17 00:00:00 2001
From: Omar Hossam <moar.ahmed at gmail.com>
Date: Sun, 16 Feb 2025 14:12:52 +0100
Subject: [PATCH] Update GetElementPtr.rst

---
 llvm/docs/GetElementPtr.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/GetElementPtr.rst b/llvm/docs/GetElementPtr.rst
index 9ba6218fadfbd..25a24c6403091 100644
--- a/llvm/docs/GetElementPtr.rst
+++ b/llvm/docs/GetElementPtr.rst
@@ -41,7 +41,7 @@ same. For example, when we write, in "C":
 
 it is natural to think that there is only one index, the selection of the field
 ``F``.  However, in this example, ``Foo`` is a pointer. That pointer
-must be indexed explicitly in LLVM. C, on the other hand, indices through it
+must be indexed explicitly in LLVM. C, on the other hand, indexes through it
 transparently.  To arrive at the same address location as the C code, you would
 provide the GEP instruction with two index operands. The first operand indexes
 through the pointer; the second operand indexes the field ``F`` of the



More information about the llvm-commits mailing list