aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitf1d93ca920a106067d5773d57c85370a7efffe96 (patch)
tree55817040ba1beac10686bdef88b0e5283efacb80 /lib
parent757e8d6d2e18495a247d0ae90293889ab8093bab (diff)
downloadexternal_llvm-f1d93ca920a106067d5773d57c85370a7efffe96.zip
external_llvm-f1d93ca920a106067d5773d57c85370a7efffe96.tar.gz
external_llvm-f1d93ca920a106067d5773d57c85370a7efffe96.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 1641f56..17e6f43 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/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();