[llvm] [AArch64] Cleanup existing values in getMemOpInfo (PR #98196)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 09:36:31 PDT 2024


================
@@ -3731,17 +3954,17 @@ bool AArch64InstrInfo::getMemOpInfo(unsigned Opcode, TypeSize &Scale,
   case AArch64::LDPQpost:
     Scale = TypeSize::getFixed(16);
     Width = TypeSize::getFixed(16);
-    MinOffset = -1024;
-    MaxOffset = 1008;
+    MinOffset = -64;
+    MaxOffset = 63;
     break;
   case AArch64::STPXpre:
   case AArch64::LDPXpost:
   case AArch64::STPDpre:
   case AArch64::LDPDpost:
     Scale = TypeSize::getFixed(8);
     Width = TypeSize::getFixed(8);
----------------
davemgreen wrote:

Yeah that sounds good, I forgot to change that one. Anything else you think should change?

https://github.com/llvm/llvm-project/pull/98196


More information about the llvm-commits mailing list