summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/aligned-comm.ll
blob: b2dc77d8be1234a083a4897120f5d7f574472d22 (plain)
1
2
3
4
5
6
7
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 = common global [4128 x i32] zeroinitializer, align 128
OpenPOWER on IntegriCloud