Add a testcase for the scheduling heuristic introduced in r67586.
[oota-llvm.git] / test / CodeGen / X86 / tls11.ll
1 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
2 ; RUN: grep {movw       %gs:i@NTPOFF, %ax} %t
3
4 @i = thread_local global i16 15
5
6 define i16 @f() {
7 entry:
8         %tmp1 = load i16* @i
9         ret i16 %tmp1
10 }