mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Fixed the gep example for i16 type indices.
llvm-svn: 70019
This commit is contained in:
parent
162870a4b3
commit
9093a67350
@ -3718,7 +3718,7 @@ FAQ</a>.</p>
|
||||
%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>
|
||||
|
Loading…
Reference in New Issue
Block a user