[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git] / test / CodeGen / AArch64 / stack-guard-reassign.ll
blob632774c970eae2e47e681ea915f0d6e071fdafbc
1 ; RUN: llc -O0 --frame-pointer=all -mtriple=aarch64-- -o - %S/../Inputs/stack-guard-reassign.ll | FileCheck %s
3 ; Verify that the offset assigned to the stack protector is at the top of the
4 ; frame, covering the locals.
5 ; CHECK-LABEL: fn:
6 ; CHECK:      sub x8, x29, #24
7 ; CHECK-NEXT: adrp x9, __stack_chk_guard
8 ; CHECK-NEXT: ldr x9, [x9, :lo12:__stack_chk_guard]
9 ; CHECK-NEXT: str x9, [x8]