blob: 9291200f0110fcd8a4d549092128ac465d9f4b2e [file] [log] [blame]
Dan Gohman40503392009-09-08 23:54:48 +00001; RUN: llc < %s -relocation-model=static | grep rodata | count 3
2; RUN: llc < %s -relocation-model=static | grep -F "rodata.cst" | count 2
3; RUN: llc < %s -relocation-model=pic | grep rodata | count 2
4; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel.ro" | count 2
5; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel.ro.local" | count 1
6; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel" | count 4
7; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel.local" | count 1
Anton Korobeynikovf3cf04f2009-03-29 17:14:57 +00008
9target 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"
10target triple = "x86_64-unknown-linux-gnu"
Rafael Espindolaec517cd2011-01-16 18:02:57 +000011@a = internal unnamed_addr constant [2 x i32] [i32 1, i32 2]
12@a1 = unnamed_addr constant [2 x i32] [i32 1, i32 2]
13@e = internal unnamed_addr constant [2 x [2 x i32]] [[2 x i32] [i32 1, i32 2], [2 x i32] [i32 3, i32 4]], align 16
14@e1 = unnamed_addr constant [2 x [2 x i32]] [[2 x i32] [i32 1, i32 2], [2 x i32] [i32 3, i32 4]], align 16
15@p = unnamed_addr constant i8* bitcast ([2 x i32]* @a to i8*)
16@t = unnamed_addr constant i8* bitcast ([2 x [2 x i32]]* @e to i8*)
17@p1 = unnamed_addr constant i8* bitcast ([2 x i32]* @a1 to i8*)
18@t1 = unnamed_addr constant i8* bitcast ([2 x [2 x i32]]* @e1 to i8*)
Anton Korobeynikov71278a52009-03-30 15:28:40 +000019@p2 = internal global i8* bitcast([2 x i32]* @a1 to i8*)
20@t2 = internal global i8* bitcast([2 x [2 x i32]]* @e1 to i8*)
21@p3 = internal global i8* bitcast([2 x i32]* @a to i8*)
22@t3 = internal global i8* bitcast([2 x [2 x i32]]* @e to i8*)
23