mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
Add a test that I have had in my tree for several months now, but apparently forgot to commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28d85f1c49
commit
582429947a
10
test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
Normal file
10
test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user