[PATCH] D34336: [x86] transform vector inc/dec to use -1 constant (PR33483)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 08:36:34 PDT 2017


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

Patch updated (no functional changes):

1. Use APInt::isOneValue().
2. Change comment about potential zero-latency implementation of pcmpeq - although that does seem possible for some uarch to implement if it wanted to. :)


https://reviews.llvm.org/D34336

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avg.ll
  test/CodeGen/X86/avx-intrinsics-x86-upgrade.ll
  test/CodeGen/X86/avx-intrinsics-x86.ll
  test/CodeGen/X86/avx-logic.ll
  test/CodeGen/X86/avx-vperm2x128.ll
  test/CodeGen/X86/avx2-intrinsics-x86-upgrade.ll
  test/CodeGen/X86/avx2-logic.ll
  test/CodeGen/X86/select.ll
  test/CodeGen/X86/sse2-intrinsics-x86-upgrade.ll
  test/CodeGen/X86/vec_ctbits.ll
  test/CodeGen/X86/vector-tzcnt-128.ll
  test/CodeGen/X86/vector-tzcnt-256.ll
  test/CodeGen/X86/vector-tzcnt-512.ll
  test/CodeGen/X86/widen_arith-1.ll
  test/CodeGen/X86/widen_arith-2.ll
  test/CodeGen/X86/widen_arith-3.ll
  test/CodeGen/X86/widen_cast-2.ll
  test/CodeGen/X86/widen_cast-3.ll
  test/CodeGen/X86/widen_cast-4.ll
  test/CodeGen/X86/widen_conv-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34336.103055.patch
Type: text/x-patch
Size: 151237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170619/7e5ce847/attachment-0001.bin>


More information about the llvm-commits mailing list