| ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \ |
| ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \ |
| ; RUN: FileCheck %s -check-prefix=CHECK -check-prefix=NOEMU |
| ; RUN: llc < %s -emulated-tls -march=arm -mtriple=arm-linux-gnueabi | \ |
| ; RUN: FileCheck %s -check-prefix=CHECK -check-prefix=EMU |
| %struct.anon = type { i32, i32 } |
| @teste = internal thread_local global %struct.anon zeroinitializer ; <%struct.anon*> [#uses=1] |
| %tmp2 = load i32, i32* getelementptr (%struct.anon, %struct.anon* @teste, i32 0, i32 0), align 8 ; <i32> [#uses=1] |
| ; NOEMU-NOT: __emutls_get_address |
| ; CHECK-NOT: __emutls_t.teste |
| ; EMU-LABEL: __emutls_v.teste: |
| ; CHECK-NOT: __emutls_t.teste |