summaryrefslogtreecommitdiff
path: root/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
commitd336de318eafd7643f65a901315920ec10ce05cd (patch)
tree5463981a6e711be07bada43af492c3c1dd101d68 /test/CodeGen/X86/h-registers-0.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/h-registers-0.ll')
-rw-r--r--test/CodeGen/X86/h-registers-0.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/h-registers-0.ll b/test/CodeGen/X86/h-registers-0.ll
index b477d7759c..cdc75af92e 100644
--- a/test/CodeGen/X86/h-registers-0.ll
+++ b/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
}