1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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

llvm-svn: 111260
This commit is contained in:
Jim Grosbach 2010-08-17 18:00:41 +00:00
parent 3bc7de0605
commit b321adf3af

View File

@ -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;