1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc < %s -mtriple m68k | FileCheck %s -check-prefixes=CHECK
4 declare dso_local void @main()
6 define dso_local void @naked() naked "frame-pointer"="all" {
8 ; CHECK: .cfi_startproc
10 ; CHECK-NEXT: jsr main
15 define dso_local void @normal() "frame-pointer"="all" {
16 ; CHECK-LABEL: normal:
17 ; CHECK: .cfi_startproc
18 ; CHECK-NEXT: ; %bb.0:
19 ; CHECK-NEXT: link.w %a6, #0
20 ; CHECK-NEXT: .cfi_def_cfa_offset -8
21 ; CHECK-NEXT: .cfi_offset %a6, -8
22 ; CHECK-NEXT: .cfi_def_cfa_register %a6
23 ; CHECK-NEXT: jsr main