1; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=ELF
2; RUN: llc < %s -mtriple=arm-apple-darwin10 | FileCheck %s -check-prefix=DARWIN
3
4@a = global i1 true
5; no alignment
6
7@b = global i8 1
8; no alignment
9
10@c = global i16 2
11;ELF: .p2align 1
12;ELF: c:
13;DARWIN: .p2align 1
14;DARWIN: _c:
15
16@d = global i32 3
17;ELF: .p2align 2
18;ELF: d:
19;DARWIN: .p2align 2
20;DARWIN: _d:
21
22@e = global i64 4
23;ELF: .p2align 3
24;ELF: e
25;DARWIN: .p2align 3
26;DARWIN: _e:
27
28@f = global float 5.0
29;ELF: .p2align 2
30;ELF: f:
31;DARWIN: .p2align 2
32;DARWIN: _f:
33
34@g = global double 6.0
35;ELF: .p2align 3
36;ELF: g:
37;DARWIN: .p2align 3
38;DARWIN: _g:
39
40@bar = common global [75 x i8] zeroinitializer, align 128
41;ELF: .comm bar,75,128
42;DARWIN: .comm _bar,75,7
43