[llvm] [AArch64] Optimise materialisation of large stack offset calculations (PR #201856)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 06:06:42 PDT 2026


================
@@ -0,0 +1,15 @@
+# RUN: llc -mtriple=arm64-apple-ios -run-pass=prologepilog %s -o - | FileCheck %s
+---
+name: large_stack_offset_calc
+tracksRegLiveness: true
+stack:
+  - { id: 0, size: 32768, alignment: 8 }
+body: |
+  ; CHECK-LABEL: name: large_stack_offset_calc
----------------
davemgreen wrote:

Can you add a test with two large offsets, showing they can share the same base now?

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


More information about the llvm-commits mailing list