diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-04-14 01:46:37 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-04-14 01:46:37 +0000 |
commit | 410ec4aad1605850e39153d56754492a2489b35d (patch) | |
tree | f1ede7ae7fdf169b50db976fca7532e46872c3bb /llvm/test/CodeGen/X86/anyext.ll | |
parent | 7e07d6fb69bf52b45e1a0f790135bd4746d70194 (diff) | |
download | bcm5719-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/anyext.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/anyext.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/anyext.ll b/llvm/test/CodeGen/X86/anyext.ll index 32a48fbedca..106fe83661b 100644 --- a/llvm/test/CodeGen/X86/anyext.ll +++ b/llvm/test/CodeGen/X86/anyext.ll @@ -1,10 +1,8 @@ -; RUN: llc < %s -march=x86-64 | FileCheck %s +; RUN: llc < %s -march=x86-64 | grep movzbl | count 2 -; Use movzbl (aliased as movzx) to avoid partial-register updates. +; Use movzbl to avoid partial-register updates. define i32 @foo(i32 %p, i8 zeroext %x) nounwind { -; CHECK: movzx %dil, %eax -; CHECK: movzx %al, %eax %q = trunc i32 %p to i8 %r = udiv i8 %q, %x %s = zext i8 %r to i32 |