repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
ARM
/
thread_pointer.ll
blob
6476b483d7d9e9a325d2e1d3abc7678c21d094a4
1
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi | \
2
; RUN: grep {__aeabi_read_tp}
3
4
define i8* @test() {
5
entry:
6
%tmp1 = call i8* @llvm.arm.thread.pointer( ) ; <i8*> [#uses=0]
7
ret i8* %tmp1
8
}
9
10
declare i8* @llvm.arm.thread.pointer()