From: Sanjiv Gupta Date: Sat, 25 Apr 2009 07:27:44 +0000 (+0000) Subject: Fixed the gep example for i16 type indices. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9f805c206ee85d6730c809b6fec1fd5989bd9b04;p=oota-llvm.git Fixed the gep example for i16 type indices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70019 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 276c2e93969..c07d0e0d592 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3718,7 +3718,7 @@ FAQ.

%vptr = getelementptr {i32, <2 x i8>}* %svptr, i64 0, i32 1, i32 1 ; yields i8*:eptr %eptr = getelementptr [12 x i8]* %aptr, i64 0, i32 1 - ; yields i16*:iptr + ; yields i32*:iptr %iptr = getelementptr [10 x i32]* @arr, i16 0, i16 0