From: Bob Wilson Date: Fri, 14 Aug 2009 05:16:33 +0000 (+0000) Subject: Now that all the legal Neon shuffles (or at least the ones that have been X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=22cac0d9b328ef89a6aafdbda9cd0cea71f8ce46;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 641476c090a..ba3fdab14f3 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) {