diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-08 15:41:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-08 15:41:08 +0000 |
commit | 582429947a1c212aca10d7a941ee8bf81de679ef (patch) | |
tree | 1b3964acd983625bf39569bd9b4895ef3c290f27 /test/Assembler | |
parent | 28d85f1c4969a13acb2d276bf52a465fbef7435a (diff) | |
download | external_llvm-582429947a1c212aca10d7a941ee8bf81de679ef.zip external_llvm-582429947a1c212aca10d7a941ee8bf81de679ef.tar.gz external_llvm-582429947a1c212aca10d7a941ee8bf81de679ef.tar.bz2 |
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
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll b/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll new file mode 100644 index 0000000..2dd0caa --- /dev/null +++ b/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll @@ -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 +} |