Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -regalloc=fast -optimize-regalloc=0 -relocation-model=pic | FileCheck %s
      2 ; PR4004
      3 
      4 ; CHECK: {{leaq.*TLSGD}}
      5 ; CHECK: {{__tls_get_addr}}
      6 
      7 @i = thread_local global i32 15
      8 
      9 define i32 @f() {
     10 entry:
     11 	%tmp1 = load i32, i32* @i
     12 	ret i32 %tmp1
     13 }
     14