aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/cmp.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/cmp.ll
parentc6df9883da99915d1cfa491b381ffa703c61ed90 (diff)
downloadexternal_llvm-d336de318eafd7643f65a901315920ec10ce05cd.zip
external_llvm-d336de318eafd7643f65a901315920ec10ce05cd.tar.gz
external_llvm-d336de318eafd7643f65a901315920ec10ce05cd.tar.bz2
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/cmp.ll')
-rw-r--r--test/CodeGen/X86/cmp.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/cmp.ll b/test/CodeGen/X86/cmp.ll
index 6e88fc1..ef5e353 100644
--- a/test/CodeGen/X86/cmp.ll
+++ b/test/CodeGen/X86/cmp.ll
@@ -38,7 +38,7 @@ define i64 @test3(i64 %x) nounwind {
; CHECK: test3:
; CHECK: testq %rdi, %rdi
; CHECK: sete %al
-; CHECK: movzx %al, %eax
+; CHECK: movzbl %al, %eax
; CHECK: ret
}
@@ -49,7 +49,7 @@ define i64 @test4(i64 %x) nounwind {
; CHECK: test4:
; CHECK: testq %rdi, %rdi
; CHECK: setle %al
-; CHECK: movzx %al, %eax
+; CHECK: movzbl %al, %eax
; CHECK: ret
}