[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / Thumb2 / tls1.ll
blob6acf27d1ad5d190dd490ebfda61df6fc8ea0ad4a
1 ; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi | \
2 ; RUN:     grep "i(TPOFF)"
3 ; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi | \
4 ; RUN:     grep "__aeabi_read_tp"
5 ; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi \
6 ; RUN:     -relocation-model=pic | grep "__tls_get_addr"
9 @i = thread_local global i32 15         ; <i32*> [#uses=2]
11 define i32 @f() {
12 entry:
13         %tmp1 = load i32, i32* @i               ; <i32> [#uses=1]
14         ret i32 %tmp1
17 define i32* @g() {
18 entry:
19         ret i32* @i