Make DAGCombiner work on vector bitshifts with constant splat vectors.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Mar 2014 18:58:01 +0000 (18:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Mar 2014 18:58:01 +0000 (18:58 +0000)
commit94bdb453a40e53e4318380b5a262ce3c324d10ce
treeba016c94f7b6741830f594bb9c5890e235c182bc
parent63d93faa9b2a8a1a38758f9ca9cff79bc0cac5fc
Make DAGCombiner work on vector bitshifts with constant splat vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204071 91177308-0d34-0410-b5e6-96231b3b80d8
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