mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
e11b9fcbe6
This reverts commit 73a6a164b84a8195defbb8f5eeb6faecfc478ad4.
15 lines
510 B
LLVM
15 lines
510 B
LLVM
; RUN: llc -O0 --frame-pointer=none -mtriple=arm-- -o - %S/../Inputs/stack-guard-reassign.ll | FileCheck %s
|
|
|
|
; Verify that the offset assigned to the stack protector is at the top of the
|
|
; frame, covering the locals.
|
|
; CHECK-LABEL: fn:
|
|
; CHECK: sub sp, sp, #24
|
|
; CHECK-NEXT: sub sp, sp, #65536
|
|
; CHECK-NEXT: ldr r1, .LCPI0_0
|
|
; CHECK-NEXT: str r1, [sp, #8]
|
|
; CHECK-NEXT: ldr r1, [r1]
|
|
; CHECK-NEXT: add lr, sp, #65536
|
|
; CHECK-NEXT: str r1, [lr, #20]
|
|
; CHECK: .LCPI0_0:
|
|
; CHECK-NEXT: .long __stack_chk_guard
|