summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/anyext.ll
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2016-05-06 17:42:57 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2016-05-06 17:42:57 +0000
commit258426ca7ad95bdf66638a1c06c1658b1d1939fd (patch)
treefc3baf0c119bd44fe66ed32b8a9d75f19be4e082 /llvm/test/CodeGen/X86/anyext.ll
parentd97dd11f2f5e8b3bb02d6e45aa3dc8f115dc17a8 (diff)
downloadbcm5719-llvm-258426ca7ad95bdf66638a1c06c1658b1d1939fd.tar.gz
bcm5719-llvm-258426ca7ad95bdf66638a1c06c1658b1d1939fd.zip
[X86] Teach X86FixupBWInsts to promote MOV8rr/MOV16rr to MOV32rr.
Codesize is less (16) or equal (8), and we avoid partial dependencies. Differential Revision: http://reviews.llvm.org/D19999 llvm-svn: 268760
Diffstat (limited to 'llvm/test/CodeGen/X86/anyext.ll')
-rw-r--r--llvm/test/CodeGen/X86/anyext.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/anyext.ll b/llvm/test/CodeGen/X86/anyext.ll
index 0117932035d..3c53983fe4e 100644
--- a/llvm/test/CodeGen/X86/anyext.ll
+++ b/llvm/test/CodeGen/X86/anyext.ll
@@ -39,7 +39,7 @@ define i32 @bar(i32 %p, i16 zeroext %x) nounwind {
; X64-LABEL: bar:
; X64: # BB#0:
; X64-NEXT: xorl %edx, %edx
-; X64-NEXT: movw %di, %ax
+; X64-NEXT: movl %edi, %eax
; X64-NEXT: divw %si
; X64-NEXT: andl $1, %eax
; X64-NEXT: retq
OpenPOWER on IntegriCloud