[llvm-commits] [llvm] r70019 - /llvm/trunk/docs/LangRef.html

Sanjiv Gupta sanjiv.gupta at microchip.com
Sat Apr 25 00:27:47 PDT 2009


Author: sgupta
Date: Sat Apr 25 02:27:44 2009
New Revision: 70019

URL: http://llvm.org/viewvc/llvm-project?rev=70019&view=rev
Log:
Fixed the gep example for i16 type indices.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=70019&r1=70018&r2=70019&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Sat Apr 25 02:27:44 2009
@@ -3718,7 +3718,7 @@
     %vptr = getelementptr {i32, <2 x i8>}* %svptr, i64 0, i32 1, i32 1
     <i>; yields i8*:eptr</i>
     %eptr = getelementptr [12 x i8]* %aptr, i64 0, i32 1
-    <i>; yields i16*:iptr</i>
+    <i>; yields i32*:iptr</i>
     %iptr = getelementptr [10 x i32]* @arr, i16 0, i16 0
 </pre>
 </div>





More information about the llvm-commits mailing list