[PATCH] D34325: [Doc] Fix getelementptr description about arguments

Wei-Ren Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 18 00:17:30 PDT 2017


chenwj created this revision.

Section "Arguments" of `getelementptr` [1] says the first argument is a type, the second argument is a pointer or a vector of pointers, and is the base address to start from. Update `getelementptr` FAQ accordingly, based on discussion with David on the mailing list [3].

[1] http://llvm.org/docs/LangRef.html#getelementptr-instruction
[2] http://llvm.org/docs/GetElementPtr.html
[3] http://lists.llvm.org/pipermail/llvm-dev/2017-June/114294.html


https://reviews.llvm.org/D34325

Files:
  docs/GetElementPtr.rst
  docs/LangRef.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34325.102962.patch
Type: text/x-patch
Size: 5348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170618/8e82f0e6/attachment.bin>


More information about the llvm-commits mailing list