brintos

brintos / llvm-project-archived public Read only

0
0
Text · 787 B · 3305180 Raw
32 lines · plain
1; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix NOEMU2; RUN: llc -mtriple arm-linux-gnueabi -emulated-tls -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix EMU3 4%struct.anon = type { i32, i32 }5@teste = internal thread_local global %struct.anon zeroinitializer6 7define i32 @main() {8entry:9  %tmp2 = load i32, ptr @teste, align 810  ret i32 %tmp211}12 13; CHECK-LABEL: main:14; NOEMU-NOT:   __emutls_get_address15 16; NOEMU:       .section .tbss17; NOEMU-LABEL: teste:18; NOEMU-NEXT:  .zero 819 20; CHECK-NOT: __emutls_t.teste21 22; EMU:       .p2align 223; EMU-LABEL: __emutls_v.teste:24; EMU-NEXT:  .long 825; EMU-NEXT:  .long 426; EMU-NEXT:  .long 027; EMU-NEXT:  .long 028 29; CHECK-NOT: teste:30; CHECK-NOT: __emutls_t.teste31 32