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

Matt Arsenault Matthew.Arsenault at amd.com
Fri Mar 7 10:54:09 PST 2014


  Quick cleanup for checking for constant splats. Add new helper to BuildVectorSDNode, and fix obnoxiously long function name.

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

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

Files:
  include/llvm/CodeGen/SelectionDAGNodes.h
  include/llvm/CodeGen/ValueTypes.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.3.patch
Type: text/x-patch
Size: 32939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140307/f778fe47/attachment.bin>


More information about the llvm-commits mailing list