1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc < %s -march xcore | FileCheck %s -check-prefixes=CHECK
4 declare dso_local void @main()
6 define dso_local void @naked() naked "frame-pointer"="all" {
10 ; CHECK-NEXT: .cc_bottom naked.function
15 define dso_local void @normal() "frame-pointer"="all" {
16 ; CHECK-LABEL: normal:
19 ; CHECK-NEXT: .cfi_def_cfa_offset 8
20 ; CHECK-NEXT: .cfi_offset 15, 0
21 ; CHECK-NEXT: stw r10, sp[1] # 4-byte Folded Spill
22 ; CHECK-NEXT: .cfi_offset 10, -4
23 ; CHECK-NEXT: ldaw r10, sp[0]
24 ; CHECK-NEXT: .cfi_def_cfa_register 10
27 ; CHECK-NEXT: ldaw sp, sp[1]
28 ; CHECK-NEXT: .cc_bottom normal.function