[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / stack-guard-reassign.ll
blob02ee9c067f22346dc26294fbb57f552b21bf7b87
1 ; RUN: llc -O0 --frame-pointer=none -mtriple=arm-- -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 sp, sp, #32
7 ; CHECK-NEXT: sub sp, sp, #65536
8 ; CHECK-NEXT: ldr r1, .LCPI0_0
9 ; CHECK-NEXT: ldr r2, [r1]
10 ; CHECK-NEXT: add lr, sp, #65536
11 ; CHECK-NEXT: str r2, [lr, #28]
12 ; CHECK: .LCPI0_0:
13 ; CHECK-NEXT: .long __stack_chk_guard