mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
[AArch64] Fix typo in load/store optimizer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9f039304b3
commit
1514ecc83a
@ -142,7 +142,7 @@ static bool isUnscaledLdst(unsigned Opc) {
|
||||
int AArch64LoadStoreOpt::getMemSize(MachineInstr *MemMI) {
|
||||
switch (MemMI->getOpcode()) {
|
||||
default:
|
||||
llvm_unreachable("Opcode has has unknown size!");
|
||||
llvm_unreachable("Opcode has unknown size!");
|
||||
case AArch64::STRSui:
|
||||
case AArch64::STURSi:
|
||||
return 4;
|
||||
|
Loading…
Reference in New Issue
Block a user