aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/shl_elim.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/shl_elim.ll
parentc6df9883da99915d1cfa491b381ffa703c61ed90 (diff)
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/shl_elim.ll')
-rw-r--r--test/CodeGen/X86/shl_elim.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/shl_elim.ll b/test/CodeGen/X86/shl_elim.ll
index d10545cd5d..0827221875 100644
--- a/test/CodeGen/X86/shl_elim.ll
+++ b/test/CodeGen/X86/shl_elim.ll
@@ -1,6 +1,6 @@
; RUN: llc < %s -march=x86 | grep {movl 8(.esp), %eax}
; RUN: llc < %s -march=x86 | grep {shrl .eax}
-; RUN: llc < %s -march=x86 | grep {movsx .ax, .eax}
+; RUN: llc < %s -march=x86 | grep {movswl .ax, .eax}
define i32 @test1(i64 %a) nounwind {
%tmp29 = lshr i64 %a, 24 ; <i64> [#uses=1]