[llvm-commits] CVS: llvm/test/Regression/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Jul 8 10:42:02 PDT 2004
Changes in directory llvm/test/Regression/Assembler:
2004-04-04-GetElementPtrIndexTypes.ll added (r1.1)
---
Log message:
Add a test that I have had in my tree for several months now, but apparently forgot to commit
---
Diffs of the changes: (+10 -0)
Index: llvm/test/Regression/Assembler/2004-04-04-GetElementPtrIndexTypes.ll
diff -c /dev/null llvm/test/Regression/Assembler/2004-04-04-GetElementPtrIndexTypes.ll:1.1
*** /dev/null Thu Jul 8 10:41:18 2004
--- llvm/test/Regression/Assembler/2004-04-04-GetElementPtrIndexTypes.ll Thu Jul 8 10:41:08 2004
***************
*** 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
+ }
More information about the llvm-commits
mailing list