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:
parent
3bc7de0605
commit
b321adf3af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user