1; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \
2; RUN:     grep "__aeabi_read_tp"
3
4define i8* @test() {
5entry:
6	%tmp1 = call i8* @llvm.thread.pointer( )		; <i8*> [#uses=0]
7	ret i8* %tmp1
8}
9
10declare i8* @llvm.thread.pointer()
11