Fix unintentional fallthrough. Patch by Edmund Grimley-Evans <Edmund.Grimley-Evans@arm.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2010-05-06 15:32:49 +00:00
parent eae216c6d3
commit d31f00b7f7

View File

@ -1866,7 +1866,7 @@ SDNode *ARMDAGToDAGISel::Select(SDNode *N) {
unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue(); unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
switch (IntNo) { switch (IntNo) {
default: default:
break; return SelectCode(N);
case Intrinsic::arm_neon_vld1: { case Intrinsic::arm_neon_vld1: {
unsigned DOpcodes[] = { ARM::VLD1d8, ARM::VLD1d16, unsigned DOpcodes[] = { ARM::VLD1d8, ARM::VLD1d16,
@ -1988,6 +1988,7 @@ SDNode *ARMDAGToDAGISel::Select(SDNode *N) {
return SelectVLDSTLane(N, false, 4, DOpcodes, QOpcodes0, QOpcodes1); return SelectVLDSTLane(N, false, 4, DOpcodes, QOpcodes0, QOpcodes1);
} }
} }
llvm_unreachable("Unhandled intrinsic");
} }
case ISD::CONCAT_VECTORS: { case ISD::CONCAT_VECTORS: {