mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
d13f2392cf
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369122 91177308-0d34-0410-b5e6-96231b3b80d8
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]
|