diff options
author | Kevin B. Smith <kevin.b.smith@intel.com> | 2016-06-15 18:18:05 +0000 |
---|---|---|
committer | Kevin B. Smith <kevin.b.smith@intel.com> | 2016-06-15 18:18:05 +0000 |
commit | acbda9ef300371494e00125e54cb95b2a89e5f16 (patch) | |
tree | c6d5b66bfceb8122cb138cdf168ffb29d1b4df2c /llvm/test/CodeGen/X86/memcmp.ll | |
parent | 3128b10cdc5c83e79aad7fa3600445c494170498 (diff) | |
download | bcm5719-llvm-acbda9ef300371494e00125e54cb95b2a89e5f16.tar.gz bcm5719-llvm-acbda9ef300371494e00125e54cb95b2a89e5f16.zip |
[X86]: Updated r272801 to promote 16 bit compares with immediate operand
to 32 bits. This is in response to a comment by Eli Friedman.
llvm-svn: 272814
Diffstat (limited to 'llvm/test/CodeGen/X86/memcmp.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/memcmp.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/memcmp.ll b/llvm/test/CodeGen/X86/memcmp.ll index 410741ba4d3..51ce5dc8960 100644 --- a/llvm/test/CodeGen/X86/memcmp.ll +++ b/llvm/test/CodeGen/X86/memcmp.ll @@ -41,7 +41,8 @@ bb: ; preds = %entry return: ; preds = %entry ret void ; CHECK-LABEL: memcmp2a: -; CHECK: cmpw $28527, (% +; CHECK: movzwl +; CHECK-NEXT: cmpl $28527, } |