summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tls-pic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/tls-pic.ll')
-rw-r--r--test/CodeGen/X86/tls-pic.ll38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/CodeGen/X86/tls-pic.ll b/test/CodeGen/X86/tls-pic.ll
index 805bc25c17b62..ac0b43b2402f8 100644
--- a/test/CodeGen/X86/tls-pic.ll
+++ b/test/CodeGen/X86/tls-pic.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X86
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X64
@i = thread_local global i32 15
@j = internal thread_local global i32 42
@@ -11,9 +11,9 @@ entry:
ret i32 %tmp1
}
-; X32-LABEL: f1:
-; X32: leal i@TLSGD(,%ebx), %eax
-; X32: calll ___tls_get_addr@PLT
+; X86-LABEL: f1:
+; X86: leal i@TLSGD(,%ebx), %eax
+; X86: calll ___tls_get_addr@PLT
; X64-LABEL: f1:
; X64: leaq i@TLSGD(%rip), %rdi
@@ -27,9 +27,9 @@ entry:
ret i32* @i
}
-; X32-LABEL: f2:
-; X32: leal i@TLSGD(,%ebx), %eax
-; X32: calll ___tls_get_addr@PLT
+; X86-LABEL: f2:
+; X86: leal i@TLSGD(,%ebx), %eax
+; X86: calll ___tls_get_addr@PLT
; X64-LABEL: f2:
; X64: leaq i@TLSGD(%rip), %rdi
@@ -43,9 +43,9 @@ entry:
ret i32 %tmp1
}
-; X32-LABEL: f3:
-; X32: leal i@TLSGD(,%ebx), %eax
-; X32: calll ___tls_get_addr@PLT
+; X86-LABEL: f3:
+; X86: leal i@TLSGD(,%ebx), %eax
+; X86: calll ___tls_get_addr@PLT
; X64-LABEL: f3:
; X64: leaq i@TLSGD(%rip), %rdi
@@ -57,9 +57,9 @@ entry:
ret i32* @i
}
-; X32-LABEL: f4:
-; X32: leal i@TLSGD(,%ebx), %eax
-; X32: calll ___tls_get_addr@PLT
+; X86-LABEL: f4:
+; X86: leal i@TLSGD(,%ebx), %eax
+; X86: calll ___tls_get_addr@PLT
; X64-LABEL: f4:
; X64: leaq i@TLSGD(%rip), %rdi
@@ -74,11 +74,11 @@ entry:
ret i32 %add
}
-; X32-LABEL: f5:
-; X32: leal {{[jk]}}@TLSLDM(%ebx)
-; X32: calll ___tls_get_addr@PLT
-; X32: movl {{[jk]}}@DTPOFF(%e
-; X32: addl {{[jk]}}@DTPOFF(%e
+; X86-LABEL: f5:
+; X86: leal {{[jk]}}@TLSLDM(%ebx)
+; X86: calll ___tls_get_addr@PLT
+; X86: movl {{[jk]}}@DTPOFF(%e
+; X86: addl {{[jk]}}@DTPOFF(%e
; X64-LABEL: f5:
; X64: leaq {{[jk]}}@TLSLD(%rip), %rdi