summaryrefslogtreecommitdiff
path: root/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
commitd336de318eafd7643f65a901315920ec10ce05cd (patch)
tree5463981a6e711be07bada43af492c3c1dd101d68 /test/CodeGen/X86/promote-assert-zext.ll
parentc6df9883da99915d1cfa491b381ffa703c61ed90 (diff)
downloadllvm-d336de318eafd7643f65a901315920ec10ce05cd.tar.gz
llvm-d336de318eafd7643f65a901315920ec10ce05cd.tar.bz2
llvm-d336de318eafd7643f65a901315920ec10ce05cd.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/promote-assert-zext.ll')
-rw-r--r--test/CodeGen/X86/promote-assert-zext.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/promote-assert-zext.ll b/test/CodeGen/X86/promote-assert-zext.ll
index e973c5a466..b582806c96 100644
--- a/test/CodeGen/X86/promote-assert-zext.ll
+++ b/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: