revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / XCore / tls.ll
blobed41afae0996032394ad9f0396933bcd98c2c67d
1 ; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s
3 define i32 *@addr_G() {
4 entry:
5 ; CHECK: addr_G:
6 ; CHECK: get r11, id
7         ret i32* @G
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