SelectionDAG: Enable (and (setcc x), (setcc y)) -> (setcc (and x, y)) for vectors
authorTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 16:01:25 +0000 (16:01 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 16:01:25 +0000 (16:01 +0000)
commitc23f0e1e446426190f563fcb89ef644927f7f438
tree7c7035c98dce85c7eb9803ea1bd2b5f05ac53cc1
parentf586a260ca729c933cb15c6e68cabe95163a6dcb
SelectionDAG: Enable (and (setcc x), (setcc y)) -> (setcc (and x, y)) for vectors

This prevents a future commit from regressing:

test/CodeGen/R600/setcc-equivalent.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210540 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp