[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 20:09:55 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:
Yep, that did it. Thanks!
https://github.com/llvm/llvm-project/pull/84114
More information about the llvm-commits
mailing list