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

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 5 22:52:23 PST 2005



Changes in directory llvm/test/Feature:

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

add alignment info for globals and functions


---
Diffs of the changes:  (+3 -1)

 alignment.ll |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/test/Feature/alignment.ll
diff -u llvm/test/Feature/alignment.ll:1.1 llvm/test/Feature/alignment.ll:1.2
--- llvm/test/Feature/alignment.ll:1.1	Sat Nov  5 16:07:30 2005
+++ llvm/test/Feature/alignment.ll	Sun Nov  6 00:52:12 2005
@@ -2,7 +2,9 @@
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
-int *%test() {
+%X = global int 4, align 16
+
+int *%test() align 32 {
 	%X = alloca int, align 4
 	%Y = alloca int, uint 42, align 16
 	%Z = alloca int, align 0






More information about the llvm-commits mailing list