summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-07-09 00:38:12 +0000
committerBob Wilson <bob.wilson@apple.com>2010-07-09 00:38:12 +0000
commit21eed476e8479ae1d14e4968c7edd69bb3bbcd04 (patch)
treecd9b46b3810a85f8ce64a703df05310323a884b1 /llvm/lib
parent061d70ad2cf1118ed066da73ff0e933a7afbd37d (diff)
downloadbcm5719-llvm-21eed476e8479ae1d14e4968c7edd69bb3bbcd04.tar.gz
bcm5719-llvm-21eed476e8479ae1d14e4968c7edd69bb3bbcd04.zip
Reenable DAG combining for vector shuffles. It looks like it was temporarily
disabled and then never turned back on again. Adjust some tests, one because this change avoids an unnecessary instruction, and the other to make it continue testing what it was intended to test. llvm-svn: 107941
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 1641f56682d..17e6f430f4f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -6309,8 +6309,6 @@ SDValue DAGCombiner::visitCONCAT_VECTORS(SDNode *N) {
}
SDValue DAGCombiner::visitVECTOR_SHUFFLE(SDNode *N) {
- return SDValue();
-
EVT VT = N->getValueType(0);
unsigned NumElts = VT.getVectorNumElements();
OpenPOWER on IntegriCloud