1 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu | \
2 ; RUN: grep {movl %gs:i@NTPOFF, %eax}
3 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu | \
4 ; RUN: grep {leal i@NTPOFF(%eax), %eax}
5 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | \
6 ; RUN: grep {leal i@TLSGD(,%ebx,1), %eax}
8 @i = thread_local global i32 15 ; <i32*> [#uses=2]
12 %tmp1 = load i32* @i ; <i32> [#uses=1]