Split the Add, Sub, and Mul instruction opcodes into separate
[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 ; RUN: llvm-as < %s | llc -march=x86-64 -mtriple=x86_64-linux-gnu > %t2
4 ; RUN: grep {movw       %fs:i@TPOFF, %ax} %t2
5
6 @i = thread_local global i16 15
7
8 define i16 @f() {
9 entry:
10         %tmp1 = load i16* @i
11         ret i16 %tmp1
12 }