[PATCH] Make DAGCombiner work on vector bitshifts with constant splat vectors.

Matt Arsenault Matthew.Arsenault at amd.com
Thu Mar 13 12:05:39 PDT 2014


  Oh, sorry I don't know how I missed that before.

  I renamed it to isConstantSplat, and made a slight change to the comment. I originally didn't want to name it this because the complicated version was already isConstantSplat, and I generally try to avoid overloading. I matched the comment style that the other form was, although I'm not sure that's exactly what current versions of doxygen look for or not.

http://llvm-reviews.chandlerc.com/D2997

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2997?vs=7646&id=7810#toc

Files:
  include/llvm/CodeGen/SelectionDAGNodes.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/AArch64/neon-shl-ashr-lshr.ll
  test/CodeGen/X86/avx2-vector-shifts.ll
  test/CodeGen/X86/sse2-vector-shifts.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2997.4.patch
Type: text/x-patch
Size: 31858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140313/5a34c975/attachment.bin>


More information about the llvm-commits mailing list