1 ; RUN: llc -mtriple powerpc-ibm-aix-xcoff < %s | FileCheck %s
2 ; RUN: llc -mtriple powerpc64-ibm-aix-xcoff < %s | FileCheck %s
4 @ivar = local_unnamed_addr global i32 35, align 4
5 @llvar = local_unnamed_addr global i64 36, align 8
6 @svar = local_unnamed_addr global i16 37, align 2
7 @fvar = local_unnamed_addr global float 8.000000e+02, align 4
8 @dvar = local_unnamed_addr global double 9.000000e+02, align 8
9 @over_aligned = local_unnamed_addr global double 9.000000e+02, align 32
10 @charr = local_unnamed_addr global [4 x i8] c"abcd", align 1
11 @dblarr = local_unnamed_addr global [4 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00], align 8
13 ; CHECK: .csect .data[RW]
14 ; CHECK-NEXT: .globl ivar
15 ; CHECK-NEXT: .align 2
17 ; CHECK-NEXT: .long 35
20 ; CHECK-NEXT: .align 3
22 ; CHECK-NEXT: .llong 36
25 ; CHECK-NEXT: .align 1
27 ; CHECK-NEXT: .short 37
30 ; CHECK-NEXT: .align 2
32 ; CHECK-NEXT: .long 1145569280
35 ; CHECK-NEXT: .align 3
37 ; CHECK-NEXT: .llong 4651127699538968576
39 ; CHECK: .globl over_aligned
40 ; CHECK-NEXT: .align 5
41 ; CHECK-NEXT: over_aligned:
42 ; CHECK-NEXT: .llong 4651127699538968576
46 ; CHECK-NEXT: .byte 97
47 ; CHECK-NEXT: .byte 98
48 ; CHECK-NEXT: .byte 99
49 ; CHECK-NEXT: .byte 100
51 ; CHECK: .globl dblarr
52 ; CHECK-NEXT: .align 3
54 ; CHECK-NEXT: .llong 4607182418800017408
55 ; CHECK-NEXT: .llong 4611686018427387904
56 ; CHECK-NEXT: .llong 4613937818241073152
57 ; CHECK-NEXT: .llong 4616189618054758400