[llvm-commits] CVS: llvm/test/Feature/packed.ll
Reid Spencer
reid at x10sys.com
Thu Aug 19 23:02:34 PDT 2004
Changes in directory llvm/test/Feature:
packed.ll added (r1.1)
---
Log message:
Added a test case for packed types. Test case kindly provided by Brad Jones
---
Diffs of the changes: (+15 -0)
Index: llvm/test/Feature/packed.ll
diff -c /dev/null llvm/test/Feature/packed.ll:1.1
*** /dev/null Fri Aug 20 01:02:34 2004
--- llvm/test/Feature/packed.ll Fri Aug 20 01:02:24 2004
***************
*** 0 ****
--- 1,15 ----
+ ; RUN: llvm-as < %s | llvm-dis
+
+ %foo1 = uninitialized global <4 x float>;
+ %foo2 = uninitialized global <2 x int>;
+
+ implementation ; Functions:
+
+ void %main()
+ {
+ store <4 x float> <float 1.0, float 2.0, float 3.0, float 4.0>, <4 x float>* %foo1
+ store <2 x int> <int 4, int 4>, <2 x int>* %foo2
+ %l1 = load <4 x float>* %foo1
+ %l2 = load <2 x int>* %foo2
+ ret void
+ }
More information about the llvm-commits
mailing list