Skip to content

Commit c16b94a

Browse files
[AArch64] Fix missing opcode when calling isAArch64FrameOffsetLegal
`LDAPURi` was accidentally left unhandled in `isAArch64FrameOffsetLegal`. Reported-by: fhahn
1 parent e929f06 commit c16b94a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3550,6 +3550,7 @@ bool AArch64InstrInfo::getMemOpInfo(unsigned Opcode, TypeSize &Scale,
35503550
case AArch64::LDURWi:
35513551
case AArch64::LDURSi:
35523552
case AArch64::LDURSWi:
3553+
case AArch64::LDAPURi:
35533554
case AArch64::LDAPURSWi:
35543555
case AArch64::STURWi:
35553556
case AArch64::STURSi:

0 commit comments

Comments
 (0)