commit | 4039181fbec25e2827d656aa2c8454b0f981dfe0 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Mon Jun 19 05:34:21 2017 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Mon Jun 19 05:34:21 2017 +0000 |
tree | e8c407927bdabbf6e541340058144f235a4ec08c | |
parent | 47c282c3dffc60b553aa8be6b075651b025311a4 [diff] |
[Doc] Fix getelementptr description about arguments 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 [2] 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 Patch by Wei-Ren Chen! Differential Revision: https://reviews.llvm.org/D34325 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305662 91177308-0d34-0410-b5e6-96231b3b80d8