Merge branch 'master' into msp430
[llvm/msp430.git] / test / CodeGen / ARM / thread_pointer.ll
blob6476b483d7d9e9a325d2e1d3abc7678c21d094a4
1 ; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi | \
2 ; RUN:     grep {__aeabi_read_tp}
4 define i8* @test() {
5 entry:
6         %tmp1 = call i8* @llvm.arm.thread.pointer( )            ; <i8*> [#uses=0]
7         ret i8* %tmp1
10 declare i8* @llvm.arm.thread.pointer()