[PATCH] D21144: [X86]: Quit promoting 8 and 16 bit compares to 32 bit.

Kevin B. Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 14:51:54 PDT 2016


kbsmith1 updated this revision to Diff 60244.
kbsmith1 added a comment.

Updated changes so this will continue to promote 16 bit compares to 32 bits if one of the compare
operands is a constant.  This addresses Eli Friedman's comment.


http://reviews.llvm.org/D21144

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/3addr-16bit.ll
  test/CodeGen/X86/atomic16.ll
  test/CodeGen/X86/atomic8.ll
  test/CodeGen/X86/ctpop-combine.ll
  test/CodeGen/X86/machine-sink-and-implicit-null-checks.ll
  test/CodeGen/X86/memcmp.ll
  test/CodeGen/X86/pr5145.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21144.60244.patch
Type: text/x-patch
Size: 9111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160609/e6df5f00/attachment.bin>


More information about the llvm-commits mailing list