aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/large-global.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/large-global.ll')
-rw-r--r--test/CodeGen/X86/large-global.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/large-global.ll b/test/CodeGen/X86/large-global.ll
new file mode 100644
index 0000000..7cb974b
--- /dev/null
+++ b/test/CodeGen/X86/large-global.ll
@@ -0,0 +1,11 @@
+; RUN: llc < %s -mtriple=x86_64-apple-macosx | FileCheck %s
+; rdar://11729134
+
+; EmitZerofill was incorrectly expecting a 32-bit "size" so 26214400000
+; was printed as 444596224
+
+%struct.X = type { [25000 x i8] }
+
+@gArray = global [1048576 x %struct.X] zeroinitializer, align 16
+
+; CHECK: .zerofill __DATA,__common,_gArray,26214400000,4