14 lines · plain
1; RUN: llc -O0 --frame-pointer=none -mtriple=arm-- -o - %S/../Inputs/stack-guard-reassign.ll | FileCheck %s2 3; Verify that the offset assigned to the stack protector is at the top of the4; frame, covering the locals.5; CHECK-LABEL: fn:6; CHECK: sub sp, sp, #167; CHECK-NEXT: sub sp, sp, #655368; CHECK-NEXT: ldr r1, .LCPI0_09; CHECK-NEXT: ldr r1, [r1]10; CHECK-NEXT: add lr, sp, #6553611; CHECK-NEXT: str r1, [lr, #12]12; CHECK: .LCPI0_0:13; CHECK-NEXT: .long __stack_chk_guard14