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 | d336de318eafd7643f65a901315920ec10ce05cd (patch) | |
tree | 5463981a6e711be07bada43af492c3c1dd101d68 /test/CodeGen/X86/anyext.ll | |
parent | c6df9883da99915d1cfa491b381ffa703c61ed90 (diff) | |
download | llvm-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/anyext.ll')
-rw-r--r-- | test/CodeGen/X86/anyext.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/X86/anyext.ll b/test/CodeGen/X86/anyext.ll index 32a48fbedc..106fe83661 100644 --- a/test/CodeGen/X86/anyext.ll +++ b/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 |