summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/promote-assert-zext.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-14 01:46:37 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-14 01:46:37 +0000
commit410ec4aad1605850e39153d56754492a2489b35d (patch)
treef1ede7ae7fdf169b50db976fca7532e46872c3bb /llvm/test/CodeGen/X86/promote-assert-zext.ll
parent7e07d6fb69bf52b45e1a0f790135bd4746d70194 (diff)
downloadbcm5719-llvm-410ec4aad1605850e39153d56754492a2489b35d.tar.gz
bcm5719-llvm-410ec4aad1605850e39153d56754492a2489b35d.zip
As Dan pointed out, movzbl, movsbl, and friends are nicer than their alias
(movzx/movsx) because they give more information. Revert that part of the patch. llvm-svn: 129498
Diffstat (limited to 'llvm/test/CodeGen/X86/promote-assert-zext.ll')
-rw-r--r--llvm/test/CodeGen/X86/promote-assert-zext.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/promote-assert-zext.ll b/llvm/test/CodeGen/X86/promote-assert-zext.ll
index e973c5a466e..b582806c96a 100644
--- a/llvm/test/CodeGen/X86/promote-assert-zext.ll
+++ b/llvm/test/CodeGen/X86/promote-assert-zext.ll
@@ -7,7 +7,7 @@ target triple = "x86_64-apple-darwin11"
; ISel doesn't yet know how to eliminate this extra zero-extend. But until
; it knows how to do so safely, it shouldn;t eliminate it.
; CHECK: movzbl (%rdi), %eax
-; CHECK: movzx %ax, %eax
+; CHECK: movzwl %ax, %eax
define i64 @_ZL5matchPKtPKhiR9MatchData(i8* %tmp13) nounwind {
entry:
OpenPOWER on IntegriCloud