[llvm-commits] CVS: llvm/test/Regression/Linker/2006-06-15-GlobalVarAlignment.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 15 18:21:10 PDT 2006



Changes in directory llvm/test/Regression/Linker:

2006-06-15-GlobalVarAlignment.ll added (r1.1)
---
Log message:

New testcase, the linker is not merging alignments right.


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

 2006-06-15-GlobalVarAlignment.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/Linker/2006-06-15-GlobalVarAlignment.ll
diff -c /dev/null llvm/test/Regression/Linker/2006-06-15-GlobalVarAlignment.ll:1.1
*** /dev/null	Thu Jun 15 20:21:08 2006
--- llvm/test/Regression/Linker/2006-06-15-GlobalVarAlignment.ll	Thu Jun 15 20:20:58 2006
***************
*** 0 ****
--- 1,7 ----
+ ; The linker should choose the largest alignment when linking.
+ 
+ ; RUN: echo "%X = global int 7, align 8" | llvm-as > %t.2.bc
+ ; RUN: llvm-as < %s > %t.1.bc
+ ; RUN: llvm-link %t.[12].bc | llvm-dis | grep 'align 8'
+ 
+ %X = weak global int 7, align 4






More information about the llvm-commits mailing list