[llvm] 62e4ee2 - [LangRef] Fix typo in GEP docs

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 00:30:26 PDT 2022


Author: Nikita Popov
Date: 2022-08-02T09:30:17+02:00
New Revision: 62e4ee2def0a7364e4ff3a77a34be9b5dbc9c486

URL: https://github.com/llvm/llvm-project/commit/62e4ee2def0a7364e4ff3a77a34be9b5dbc9c486
DIFF: https://github.com/llvm/llvm-project/commit/62e4ee2def0a7364e4ff3a77a34be9b5dbc9c486.diff

LOG: [LangRef] Fix typo in GEP docs

Introduced in D130356, reported here:
https://reviews.llvm.org/rG7ac7ec820296#inline-7690

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 8080aacd8b47d..2abe628cee8f2 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -10427,7 +10427,7 @@ Syntax:
 ::
 
       <result> = getelementptr <ty>, ptr <ptrval>{, [inrange] <ty> <idx>}*
-      <result> = getelementptr inbounds ptr <ptrval>{, [inrange] <ty> <idx>}*
+      <result> = getelementptr inbounds <ty>, ptr <ptrval>{, [inrange] <ty> <idx>}*
       <result> = getelementptr <ty>, <N x ptr> <ptrval>, [inrange] <vector index type> <idx>
 
 Overview:


        


More information about the llvm-commits mailing list