[llvm] r192404 - Tests: Do not unnecessarily depend on kill comments
Matthias Braun
matze at braunis.de
Thu Oct 10 15:37:49 PDT 2013
Author: matze
Date: Thu Oct 10 17:37:49 2013
New Revision: 192404
URL: http://llvm.org/viewvc/llvm-project?rev=192404&view=rev
Log:
Tests: Do not unnecessarily depend on kill comments
Modified:
llvm/trunk/test/CodeGen/X86/tls.ll
Modified: llvm/trunk/test/CodeGen/X86/tls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/tls.ll?rev=192404&r1=192403&r2=192404&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/tls.ll (original)
+++ llvm/trunk/test/CodeGen/X86/tls.ll Thu Oct 10 17:37:49 2013
@@ -223,27 +223,22 @@ entry:
define i16 @f11() {
; X32_LINUX-LABEL: f11:
; X32_LINUX: movzwl %gs:s1 at 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 at 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 at 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 at SECREL32(%rax), %eax
-; X64_WIN-NEXT: # kill
-; X64_WIN-NEXT: ret
+; X64_WIN: ret
entry:
%tmp1 = load i16* @s1
More information about the llvm-commits
mailing list