1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc < %s -mtriple s390x | FileCheck %s -check-prefixes=CHECK
4 declare dso_local void @main()
6 define dso_local void @naked() naked "frame-pointer"="all" {
9 ; CHECK-NEXT: brasl %r14, main@PLT
14 define dso_local void @normal() "frame-pointer"="all" {
15 ; CHECK-LABEL: normal:
17 ; CHECK-NEXT: stmg %r11, %r15, 88(%r15)
18 ; CHECK-NEXT: .cfi_offset %r11, -72
19 ; CHECK-NEXT: .cfi_offset %r14, -48
20 ; CHECK-NEXT: .cfi_offset %r15, -40
21 ; CHECK-NEXT: aghi %r15, -160
22 ; CHECK-NEXT: .cfi_def_cfa_offset 320
23 ; CHECK-NEXT: lgr %r11, %r15
24 ; CHECK-NEXT: .cfi_def_cfa_register %r11
25 ; CHECK-NEXT: brasl %r14, main@PLT