Page MenuHomePhabricator

[Doc] Fix getelementptr description about arguments
ClosedPublic

Authored by chenwj on Jun 18 2017, 12:17 AM.

Details

Summary

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

Diff Detail

Repository
rL LLVM

Event Timeline

chenwj created this revision.Jun 18 2017, 12:17 AM
chenwj edited the summary of this revision. (Show Details)
dblaikie accepted this revision.Jun 18 2017, 9:31 AM

Thanks - commit when ready. If you don't have commit access, reply here & I'll commit it for you.

This revision is now accepted and ready to land.Jun 18 2017, 9:31 AM
This revision was automatically updated to reflect the committed changes.