llvm-6502/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
Tanya Lattner e7e3f2e5cd Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 22:07:09 +00:00

13 lines
312 B
LLVM

; RUN: llvm-as < %s -o /dev/null -f
int *%t1({ float, int }* %X) {
%W = getelementptr { float, int }* %X, int 20, ubyte 1
%X = getelementptr { float, int }* %X, uint 20, uint 1
%Y = getelementptr { float, int }* %X, long 20, ubyte 1
%Z = getelementptr { float, int }* %X, ulong 20, uint 1
ret int* %Y
}