[llvm] Fix stack layout for frames larger than 2gb (PR #84114)
Wesley Wiser via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 21 07:41:37 PDT 2024
================
@@ -1,7 +1,19 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
; RUN: llc -O0 -mtriple=x86_64 < %s | FileCheck %s --check-prefix=CHECK
%large = type [4294967295 x i8]
define void @foo() unnamed_addr #0 {
+; CHECK-LABEL: foo:
+; CHECK: # %bb.0:
+; CHECK-NEXT: movabsq $8589934462, %rax # imm = 0x1FFFFFF7E
+; CHECK-NEXT: subq %rax, %rsp
+; CHECK-NEXT: .cfi_def_cfa_offset 8589934470
+; CHECK-NEXT: movb $42, {{[0-9]+}}(%rsp)
----------------
wesleywiser wrote:
When I updated this test to be autogenerated, I overlooked that it replaced the offsets with regex expressions. The offsets are super important for this test so I'll see if `update_llc_test_checks.py` supports not doing this transformation or revert this change and leave them as manual tests.
https://github.com/llvm/llvm-project/pull/84114
More information about the llvm-commits
mailing list