1; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s
2
3define i32 *@addr_G() {
4entry:
5; CHECK-LABEL: addr_G:
6; CHECK: get r11, id
7	ret i32* @G
8}
9
10@G = thread_local global i32 15
11; CHECK: .section .dp.data,"awd",@progbits
12; CHECK: G:
13; CHECK: .long 15
14; CHECK: .long 15
15; CHECK: .long 15
16; CHECK: .long 15
17; CHECK: .long 15
18; CHECK: .long 15
19; CHECK: .long 15
20; CHECK: .long 15
21