llvm-6502/test/CodeGen/X86/2011-08-29-BlockConstant.ll
David Greene d92e2e4f88 Compress Repeated Byte Output
Emit a repeated sequence of bytes using .zero.  This saves an enormous
amount of asm file space for certain programs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138864 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-31 17:30:56 +00:00

35 lines
2.0 KiB
LLVM

; RUN: llc -march=x86-64 < %s | FileCheck %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-gnu"
@x = global [500 x i64] zeroinitializer, align 64 ; <[500 x i64]*>
; CHECK: x:
; CHECK: .zero 4000
@y = global [63 x i64] [
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262,
i64 6799976246779207262, i64 6799976246779207262, i64 6799976246779207262],
align 64 ; <[63 x i64]*> 0x5e5e5e5e
; CHECK: y:
; CHECK: .zero 504,94