mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
e877a2fb7c
Changes: There was a condition for `!NeedsFrameRecord` missing in the assert. The assert in question has changed to: + assert((!RPI.isPaired() || !NeedsFrameRecord || RPI.Reg2 != AArch64::FP || + RPI.Reg1 == AArch64::LR) && + "FrameRecord must be allocated together with LR"); This addresses PR43016. llvm-svn: 369122
9 lines
366 B
LLVM
9 lines
366 B
LLVM
; RUN: llc -O0 --frame-pointer=all -mtriple=aarch64-- -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: adrp x8, __stack_chk_guard
|
|
; CHECK-NEXT: ldr x8, [x8, :lo12:__stack_chk_guard]
|
|
; CHECK-NEXT: stur x8, [x29, #-8]
|