1 ; RUN: llc < %s -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() 11