diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-05-06 16:05:26 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-05-06 16:05:26 +0000 |
commit | 429009b0f1bef035b8ad1705edb7f1741ddaa427 (patch) | |
tree | 80a0091f3d03f8a4b4f5a594c306f00f6dc8378c /lib/Target/ARM/ARMISelDAGToDAG.cpp | |
parent | d31f00b7f78aff0aaec8322a1a9eccca915b88f4 (diff) | |
download | external_llvm-429009b0f1bef035b8ad1705edb7f1741ddaa427.zip external_llvm-429009b0f1bef035b8ad1705edb7f1741ddaa427.tar.gz external_llvm-429009b0f1bef035b8ad1705edb7f1741ddaa427.tar.bz2 |
Add a missing break statement to fix unintentional fall-through
(replacing the previous patch for the same issue).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelDAGToDAG.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index a3c600f..da962e1 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -1866,7 +1866,7 @@ SDNode *ARMDAGToDAGISel::Select(SDNode *N) { unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue(); switch (IntNo) { default: - return SelectCode(N); + break; case Intrinsic::arm_neon_vld1: { unsigned DOpcodes[] = { ARM::VLD1d8, ARM::VLD1d16, @@ -1988,13 +1988,12 @@ SDNode *ARMDAGToDAGISel::Select(SDNode *N) { return SelectVLDSTLane(N, false, 4, DOpcodes, QOpcodes0, QOpcodes1); } } - llvm_unreachable("Unhandled intrinsic"); + break; } - case ISD::CONCAT_VECTORS: { + case ISD::CONCAT_VECTORS: return SelectConcatVector(N); } - } return SelectCode(N); } |