[llvm-commits] [llvm] r103183 - /llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Bob Wilson
bob.wilson at apple.com
Thu May 6 09:05:26 PDT 2010
Author: bwilson
Date: Thu May 6 11:05:26 2010
New Revision: 103183
URL: http://llvm.org/viewvc/llvm-project?rev=103183&view=rev
Log:
Add a missing break statement to fix unintentional fall-through
(replacing the previous patch for the same issue).
Modified:
llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp?rev=103183&r1=103182&r2=103183&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Thu May 6 11:05:26 2010
@@ -1866,7 +1866,7 @@
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 @@
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);
}
More information about the llvm-commits
mailing list