summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tls.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-10-10 22:37:49 +0000
committerMatthias Braun <matze@braunis.de>2013-10-10 22:37:49 +0000
commitb803d6bf6243644562575fcc04ff3620bd4d77cc (patch)
tree6f606ce2e4175e646e57539dccd12f0c6ce2ac77 /test/CodeGen/X86/tls.ll
parent82eb6198c8b6280aaba06dd33b367f4305364c00 (diff)
downloadllvm-b803d6bf6243644562575fcc04ff3620bd4d77cc.tar.gz
llvm-b803d6bf6243644562575fcc04ff3620bd4d77cc.tar.bz2
llvm-b803d6bf6243644562575fcc04ff3620bd4d77cc.tar.xz
Tests: Do not unnecessarily depend on kill comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/tls.ll')
-rw-r--r--test/CodeGen/X86/tls.ll13
1 files changed, 4 insertions, 9 deletions
diff --git a/test/CodeGen/X86/tls.ll b/test/CodeGen/X86/tls.ll
index 24284e50c0..76a840260b 100644
--- a/test/CodeGen/X86/tls.ll
+++ b/test/CodeGen/X86/tls.ll
@@ -223,27 +223,22 @@ entry:
define i16 @f11() {
; X32_LINUX-LABEL: f11:
; X32_LINUX: movzwl %gs:s1@NTPOFF, %eax
-; Why is this kill line here, but no where else?
-; X32_LINUX-NEXT: # kill
-; X32_LINUX-NEXT: ret
+; X32_LINUX: ret
; X64_LINUX-LABEL: f11:
; X64_LINUX: movzwl %fs:s1@TPOFF, %eax
-; X64_LINUX-NEXT: # kill
-; X64_LINUX-NEXT: ret
+; X64_LINUX: ret
; X32_WIN-LABEL: f11:
; X32_WIN: movl __tls_index, %eax
; X32_WIN-NEXT: movl %fs:__tls_array, %ecx
; X32_WIN-NEXT: movl (%ecx,%eax,4), %eax
; X32_WIN-NEXT: movzwl _s1@SECREL32(%eax), %eax
-; X32_WIN-NEXT: # kill
-; X32_WIN-NEXT: ret
+; X32_WIN: ret
; X64_WIN-LABEL: f11:
; X64_WIN: movl _tls_index(%rip), %eax
; X64_WIN-NEXT: movq %gs:88, %rcx
; X64_WIN-NEXT: movq (%rcx,%rax,8), %rax
; X64_WIN-NEXT: movzwl s1@SECREL32(%rax), %eax
-; X64_WIN-NEXT: # kill
-; X64_WIN-NEXT: ret
+; X64_WIN: ret
entry:
%tmp1 = load i16* @s1