[LLVMdev] GetElementPtr.html

Chandler Carruth chandlerc at gmail.com
Tue Aug 15 21:39:33 PDT 2006


Hello,

Reading through this, I found a typo...

In the paragraph after the 3rd code snippet in the 1st question's section:
"The second operand will be the field offset" seems like it should be the
third operand? The second is the pointer offset...

HTH! =]
-Chandler Carruth



On 8/15/06, Reid Spencer <rspencer at reidspencer.com> wrote:
>
> All,
>
> The often misunderstood GetElementPtr (GEP) instruction now has its own
> FAQ document. For all of you that have struggled with understanding how
> this instruction works, hopefully this document will make it clear and
> help you with your use of LLVM. Many thanks to Chris Lattner for setting
> me straight on how this instruction works and reviewing the document.
>
> Document Link : http://llvm.org/docs/GetElementPtr.html
>
> Best Regards,
>
> Reid.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060816/837745b1/attachment.html>


More information about the llvm-dev mailing list