[llvm] c16b94a - [AArch64] Fix missing opcode when calling `isAArch64FrameOffsetLegal`
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 6 09:07:22 PST 2023
Author: Antonio Frighetto
Date: 2023-11-06T18:06:44+01:00
New Revision: c16b94a3bf60d77cb0ea866af416016e672a43d2
URL: https://github.com/llvm/llvm-project/commit/c16b94a3bf60d77cb0ea866af416016e672a43d2
DIFF: https://github.com/llvm/llvm-project/commit/c16b94a3bf60d77cb0ea866af416016e672a43d2.diff
LOG: [AArch64] Fix missing opcode when calling `isAArch64FrameOffsetLegal`
`LDAPURi` was accidentally left unhandled in `isAArch64FrameOffsetLegal`.
Reported-by: fhahn
Added:
Modified:
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index fc39e4b044ad8dd..6fdf5363bae2928 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -3550,6 +3550,7 @@ bool AArch64InstrInfo::getMemOpInfo(unsigned Opcode, TypeSize &Scale,
case AArch64::LDURWi:
case AArch64::LDURSi:
case AArch64::LDURSWi:
+ case AArch64::LDAPURi:
case AArch64::LDAPURSWi:
case AArch64::STURWi:
case AArch64::STURSi:
More information about the llvm-commits
mailing list