As Dan pointed out, movzbl, movsbl, and friends are nicer than their alias
[oota-llvm.git] / test / CodeGen / X86 / tls13.ll
index 308944398555bd5f3a464da16c5f6c1e07cb936f..08778ec2ce8b1aea2b2093d26c45e91321ae4add 100644 (file)
@@ -1,6 +1,9 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
+; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu > %t
 ; RUN: grep {movswl    %gs:i@NTPOFF, %eax} %t
 ; RUN: grep {movzwl    %gs:j@NTPOFF, %eax} %t
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu > %t2
+; RUN: grep {movswl    %fs:i@TPOFF, %edi} %t2
+; RUN: grep {movzwl    %fs:j@TPOFF, %edi} %t2
 
 @i = thread_local global i16 0
 @j = thread_local global i16 0