xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/large-global.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=x86_64-apple-macosx | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker; rdar://11729134
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; EmitZerofill was incorrectly expecting a 32-bit "size" so 26214400000
5*9880d681SAndroid Build Coastguard Worker; was printed as 444596224
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker%struct.X = type { [25000 x i8] }
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker@gArray = global [1048576 x %struct.X] zeroinitializer, align 16
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker; CHECK: .zerofill __DATA,__common,_gArray,26214400000,4
12