Changes in directory llvm/docs:
GetElementPtr.html updated: 1.11 -> 1.12 --- Log message: Fix a thinko noticed by Chandler Carruth. --- Diffs of the changes: (+4 -3) GetElementPtr.html | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/docs/GetElementPtr.html diff -u llvm/docs/GetElementPtr.html:1.11 llvm/docs/GetElementPtr.html:1.12 --- llvm/docs/GetElementPtr.html:1.11 Tue Aug 15 07:15:08 2006 +++ llvm/docs/GetElementPtr.html Wed Aug 16 00:53:32 2006 @@ -112,8 +112,9 @@ <p>In this "C" example, the front end compiler (llvm-gcc) will generate three GEP instructions for the three indices through "P" in the assignment statement. The function argument <tt>P</tt> will be the first operand of each - of these GEP instructions. The second operand will be the field offset into - the <tt>struct munger_struct</tt> type, for either the <tt>f1</tt> or + of these GEP instructions. The second operand indexes through that pointer. + The third operand will be the field offset into the + <tt>struct munger_struct</tt> type, for either the <tt>f1</tt> or <tt>f2</tt> field. So, in LLVM assembly the <tt>munge</tt> function looks like:</p> <pre> @@ -630,7 +631,7 @@ <a href="http://validator.w3.org/check/referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" /></a> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br/> - Last modified: $Date: 2006/08/15 12:15:08 $ + Last modified: $Date: 2006/08/16 05:53:32 $ </address> </body> </html> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits