[PATCH] D35340: [x86] use more shift or LEA for select-of-constants

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 12:04:22 PDT 2017


spatel updated this revision to Diff 108960.
spatel added a comment.

Ping.

Patch rebased after https://reviews.llvm.org/rL309597:
Note that the memcmp code with the potentially questionable partial-reg codegen has changed. We're producing setcc+movzbl more consistently now, but I'm not sure why x86-fixup-setcc doesn't transform those.


https://reviews.llvm.org/D35340

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/2010-08-04-MaskedSignedCompare.ll
  test/CodeGen/X86/memcmp-optsize.ll
  test/CodeGen/X86/memcmp.ll
  test/CodeGen/X86/merge-consecutive-stores.ll
  test/CodeGen/X86/mul-constant-result.ll
  test/CodeGen/X86/pr22338.ll
  test/CodeGen/X86/sbb.ll
  test/CodeGen/X86/select.ll
  test/CodeGen/X86/select_const.ll
  test/CodeGen/X86/sext-i1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35340.108960.patch
Type: text/x-patch
Size: 26645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170731/71fcde04/attachment.bin>


More information about the llvm-commits mailing list