1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

verify that aligned common support doesn't break.

llvm-svn: 45495
This commit is contained in:
Chris Lattner 2008-01-02 19:48:24 +00:00
parent 4a0d9c7836
commit fbd8cc03c8

View File

@ -0,0 +1,8 @@
; RUN: llvm-as < %s | llc -march=x86
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 | grep {array,16512,7}
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep {array,16512,7}
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin8 | not grep {7}
; Darwin 9+ should get alignment on common symbols. Darwin8 does
; not support this.
@array = weak global [4128 x i32] zeroinitializer, align 128