Hello,<br><br>Reading through this, I found a typo...<br><br>In the paragraph after the 3rd code snippet in the 1st question's section:<br>"The second operand will be the field offset" seems like it should be the third operand? The second is the pointer offset...
<br><br>HTH! =]<br>-Chandler Carruth<br><br><br><br><div><span class="gmail_quote">On 8/15/06, <b class="gmail_sendername">Reid Spencer</b> <<a href="mailto:rspencer@reidspencer.com">rspencer@reidspencer.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All,<br><br>The often misunderstood GetElementPtr (GEP) instruction now has its own<br>
FAQ document. For all of you that have struggled with understanding how<br>this instruction works, hopefully this document will make it clear and<br>help you with your use of LLVM. Many thanks to Chris Lattner for setting
<br>me straight on how this instruction works and reviewing the document.<br><br>Document Link : <a href="http://llvm.org/docs/GetElementPtr.html">http://llvm.org/docs/GetElementPtr.html</a><br><br>Best Regards,<br><br>Reid.
<br><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br>