[llvm-commits] CVS: llvm/test/Feature/packed_struct.ll

Andrew Lenharth alenhar2 at cs.uiuc.edu
Fri Dec 8 10:46:08 PST 2006



Changes in directory llvm/test/Feature:

packed_struct.ll updated: 1.1 -> 1.2
---
Log message:

packed initializers too in the test

---
Diffs of the changes:  (+4 -0)

 packed_struct.ll |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/test/Feature/packed_struct.ll
diff -u llvm/test/Feature/packed_struct.ll:1.1 llvm/test/Feature/packed_struct.ll:1.2
--- llvm/test/Feature/packed_struct.ll:1.1	Fri Dec  8 12:36:24 2006
+++ llvm/test/Feature/packed_struct.ll	Fri Dec  8 12:45:38 2006
@@ -8,6 +8,10 @@
 %foos = external global %struct.anon 
 %bara = external global [2 x <{ int, sbyte }>]
 
+;initializers should work for packed and non-packed the same way
+%E1 = global <{sbyte, int, int}> {sbyte 1, int 2, int 3}
+%E2 = global {sbyte, int, int} {sbyte 4, int 5, int 6}
+
 implementation   ; Functions:
 
 int %main() 






More information about the llvm-commits mailing list