aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-08-14 05:16:33 +0000
committerBob Wilson <bob.wilson@apple.com>2009-08-14 05:16:33 +0000
commit4c292c3564ca6b8102e16d23c4ebc048bc3fc8d9 (patch)
treeb19d092e2576a40d2bbe4ef098b5d82ac38199c3
parentf4f1a2736f5cce5e6b7459dde6084332d87f21e7 (diff)
downloadexternal_llvm-4c292c3564ca6b8102e16d23c4ebc048bc3fc8d9.zip
external_llvm-4c292c3564ca6b8102e16d23c4ebc048bc3fc8d9.tar.gz
external_llvm-4c292c3564ca6b8102e16d23c4ebc048bc3fc8d9.tar.bz2
Now that all the legal Neon shuffles (or at least the ones that have been
implemented so far) are recognized during legalization, it is easy to fall back to the default expansion for other shuffles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78995 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 641476c..ba3fdab 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -2464,7 +2464,7 @@ static SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) {
if (isVREVMask(SVN, 16))
return DAG.getNode(ARMISD::VREV16, dl, VT, SVN->getOperand(0));
- return Op;
+ return SDValue();
}
static SDValue LowerSCALAR_TO_VECTOR(SDValue Op, SelectionDAG &DAG) {