revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / ARM / thread_pointer.ll
blob3143387ead65762a060bd5908db90f7910702c0c
1 ; RUN: llc < %s -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()