From b803d6bf6243644562575fcc04ff3620bd4d77cc Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 10 Oct 2013 22:37:49 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/tls.ll | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/test/CodeGen/X86/tls.ll b/test/CodeGen/X86/tls.ll index 24284e50c04..76a840260b9 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