diff options
author | Kevin B. Smith <kevin.b.smith@intel.com> | 2016-06-15 16:37:46 +0000 |
---|---|---|
committer | Kevin B. Smith <kevin.b.smith@intel.com> | 2016-06-15 16:37:46 +0000 |
commit | 54566a0e9a73e5fd01cc7b43f5bd64d39a4ae887 (patch) | |
tree | 59d26b58284851cda22ffe9d63d053d494585694 /llvm/test/CodeGen/X86/memcmp.ll | |
parent | 9d4842251c0b8406fa0801208bbbe3d365eff6c3 (diff) | |
download | bcm5719-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.ll | 6 |
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, (% } |