Now that all the legal Neon shuffles (or at least the ones that have been
authorBob Wilson <bob.wilson@apple.com>
Fri, 14 Aug 2009 05:16:33 +0000 (05:16 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 14 Aug 2009 05:16:33 +0000 (05:16 +0000)
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

lib/Target/ARM/ARMISelLowering.cpp

index 641476c090a33b0dc5e704fa96738cc5e3c1ab7c..ba3fdab14f35bb74cc4d276ba6d3b8746a945fc7 100644 (file)
@@ -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) {