summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/h-registers-0.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/h-registers-0.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/h-registers-0.ll')
-rw-r--r--llvm/test/CodeGen/X86/h-registers-0.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/h-registers-0.ll b/llvm/test/CodeGen/X86/h-registers-0.ll
index b477d7759c1..cdc75af92e4 100644
--- a/llvm/test/CodeGen/X86/h-registers-0.ll
+++ b/llvm/test/CodeGen/X86/h-registers-0.ll
@@ -70,7 +70,7 @@ define i64 @qux64(i64 inreg %x) nounwind {
; WIN64: movzbl %ch, %eax
; X86-32: qux64:
-; X86-32: movzx %ah, %eax
+; X86-32: movzbl %ah, %eax
%t0 = lshr i64 %x, 8
%t1 = and i64 %t0, 255
ret i64 %t1
@@ -85,7 +85,7 @@ define i32 @qux32(i32 inreg %x) nounwind {
; WIN64: movzbl %ch, %eax
; X86-32: qux32:
-; X86-32: movzx %ah, %eax
+; X86-32: movzbl %ah, %eax
%t0 = lshr i32 %x, 8
%t1 = and i32 %t0, 255
ret i32 %t1
@@ -100,7 +100,7 @@ define i16 @qux16(i16 inreg %x) nounwind {
; WIN64: movzbl %ch, %eax
; X86-32: qux16:
-; X86-32: movzx %ah, %eax
+; X86-32: movzbl %ah, %eax
%t0 = lshr i16 %x, 8
ret i16 %t0
}
OpenPOWER on IntegriCloud