va_args support for Win64.
[oota-llvm.git] / test / CodeGen / X86 / tls12.ll
index c6f766d4472c2b4fa7910f4c87a3442850b772bc..c29f6adacd2026478e8e16e4fde935bb219863e8 100644 (file)
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
-; RUN: grep {movzbl    %gs:i@NTPOFF, %eax} %t
+; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu > %t
+; RUN: grep {movb      %gs:i@NTPOFF, %al} %t
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu > %t2
+; RUN: grep {movb      %fs:i@TPOFF, %al} %t2
 
 @i = thread_local global i8 15