explicitly handle no-op cases for clarity. Fixes clang warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2010-08-17 18:00:41 +00:00
parent 299fbe3a5a
commit 3edb904927

@ -459,6 +459,9 @@ static inline void getImmShiftSE(ARM_AM::ShiftOpc &ShOp, unsigned &ShImm) {
if (ShImm != 0)
return;
switch (ShOp) {
case ARM_AM::no_shift:
case ARM_AM::rrx:
break;
case ARM_AM::lsl:
ShOp = ARM_AM::no_shift;
break;