summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/memcmp.ll
diff options
context:
space:
mode:
authorKevin B. Smith <kevin.b.smith@intel.com>2016-06-15 16:37:46 +0000
committerKevin B. Smith <kevin.b.smith@intel.com>2016-06-15 16:37:46 +0000
commit54566a0e9a73e5fd01cc7b43f5bd64d39a4ae887 (patch)
tree59d26b58284851cda22ffe9d63d053d494585694 /llvm/test/CodeGen/X86/memcmp.ll
parent9d4842251c0b8406fa0801208bbbe3d365eff6c3 (diff)
downloadbcm5719-llvm-54566a0e9a73e5fd01cc7b43f5bd64d39a4ae887.tar.gz
bcm5719-llvm-54566a0e9a73e5fd01cc7b43f5bd64d39a4ae887.zip
[X86]: Quit promoting 8 and 16 bit compares to 32 bit.
Differential Revision: http://reviews.llvm.org/D21144 llvm-svn: 272801
Diffstat (limited to 'llvm/test/CodeGen/X86/memcmp.ll')
-rw-r--r--llvm/test/CodeGen/X86/memcmp.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/memcmp.ll b/llvm/test/CodeGen/X86/memcmp.ll
index e5f1f526b46..410741ba4d3 100644
--- a/llvm/test/CodeGen/X86/memcmp.ll
+++ b/llvm/test/CodeGen/X86/memcmp.ll
@@ -23,8 +23,7 @@ return: ; preds = %entry
ret void
; CHECK-LABEL: memcmp2:
; CHECK: movzwl
-; CHECK-NEXT: movzwl
-; CHECK-NEXT: cmpl
+; CHECK-NEXT: cmpw
; NOBUILTIN-LABEL: memcmp2:
; NOBUILTIN: callq
}
@@ -42,8 +41,7 @@ bb: ; preds = %entry
return: ; preds = %entry
ret void
; CHECK-LABEL: memcmp2a:
-; CHECK: movzwl
-; CHECK-NEXT: cmpl $28527,
+; CHECK: cmpw $28527, (%
}
OpenPOWER on IntegriCloud