[DAGCombine] Generalize distributeTruncateThroughAnd to work with any non-opaque...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 19 Oct 2016 08:57:37 +0000 (08:57 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 19 Oct 2016 08:57:37 +0000 (08:57 +0000)
commitb2ca2505ccc9877657239e54ba274b4811a02e0f
treefe323514d78021a391c8e6001135e74843d3f2f8
parent99eeab7ff3aca9a2e0827349b5ce2e7c71a69373
[DAGCombine] Generalize distributeTruncateThroughAnd to work with any non-opaque constant or constant vector

llvm-svn: 284574
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/combine-shl.ll
llvm/test/CodeGen/X86/combine-sra.ll
llvm/test/CodeGen/X86/combine-srl.ll