From 6d6c6043eacd21472e8e377bf01343e0ef0ad87c Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 13 Apr 2009 13:02:49 +0000 Subject: X86-64 TLS support for local exec and initial exec. llvm-svn: 68947 --- llvm/test/CodeGen/X86/tls13.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/test/CodeGen/X86/tls13.ll') diff --git a/llvm/test/CodeGen/X86/tls13.ll b/llvm/test/CodeGen/X86/tls13.ll index 30894439855..ec23a41113e 100644 --- a/llvm/test/CodeGen/X86/tls13.ll +++ b/llvm/test/CodeGen/X86/tls13.ll @@ -1,6 +1,9 @@ ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t ; RUN: grep {movswl %gs:i@NTPOFF, %eax} %t ; RUN: grep {movzwl %gs:j@NTPOFF, %eax} %t +; RUN: llvm-as < %s | llc -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 -- cgit v1.2.3