brintos

brintos / llvm-project-archived public Read only

0
0
Text · 533 B · 914112a Raw
13 lines · plain
1; RUN: opt -S -passes=globalopt < %s | FileCheck %s2 3target datalayout = "p:32:32"4 5%struct.s.2 = type { %struct.t.1, %struct.t.1, %struct.t.1, %struct.u.0, %struct.u.0 }6%struct.t.1 = type { %struct.u.0, %struct.u.0, %struct.u.0, %struct.u.0, i32, i32, i32, i32 }7%struct.u.0 = type { i32, i32, i32, i8 }8 9@s = external global [700 x [24000 x %struct.s.2]], align 110@p = global ptr getelementptr (i8, ptr @s, i64 2247483647), align 111 12; CHECK: @p = local_unnamed_addr global ptr getelementptr (i8, ptr @s, i32 -2047483649), align 113