comparison test/CodeGen/ARM/tls1.ll @ 0:95c75e76d11b

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children e4204d083e25
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \
2 ; RUN: grep "i(tpoff)"
3 ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \
4 ; RUN: grep "__aeabi_read_tp"
5 ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi \
6 ; RUN: -relocation-model=pic | grep "__tls_get_addr"
7
8
9 @i = thread_local global i32 15 ; <i32*> [#uses=2]
10
11 define i32 @f() {
12 entry:
13 %tmp1 = load i32* @i ; <i32> [#uses=1]
14 ret i32 %tmp1
15 }
16
17 define i32* @g() {
18 entry:
19 ret i32* @i
20 }