[AArch64] Reorder cases to improve readability. NFC.

llvm-svn: 247989
This commit is contained in:
Chad Rosier 2015-09-18 14:15:19 +00:00
parent 84a0afdeff
commit d90e2ebdf6
1 changed files with 9 additions and 9 deletions

View File

@ -1393,6 +1393,10 @@ bool AArch64InstrInfo::getMemOpBaseRegImmOfsWidth(
Width = 1;
Scale = 1;
break;
case AArch64::LDRQui:
case AArch64::STRQui:
Scale = Width = 16;
break;
case AArch64::LDRXui:
case AArch64::LDRDui:
case AArch64::STRXui:
@ -1405,21 +1409,17 @@ bool AArch64InstrInfo::getMemOpBaseRegImmOfsWidth(
case AArch64::STRSui:
Scale = Width = 4;
break;
case AArch64::LDRBui:
case AArch64::LDRBBui:
case AArch64::STRBui:
case AArch64::STRBBui:
Scale = Width = 1;
break;
case AArch64::LDRHui:
case AArch64::LDRHHui:
case AArch64::STRHui:
case AArch64::STRHHui:
Scale = Width = 2;
break;
case AArch64::LDRQui:
case AArch64::STRQui:
Scale = Width = 16;
case AArch64::LDRBui:
case AArch64::LDRBBui:
case AArch64::STRBui:
case AArch64::STRBBui:
Scale = Width = 1;
break;
};