1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=aarch64--linux-gnu -mattr=+sve < %s | FileCheck %s
4 declare i32 @sve_printf(ptr, <vscale x 4 x i32>, ...)
6 @.str_1 = internal constant [6 x i8] c"boo!\0A\00"
8 define void @foo(<vscale x 4 x i32> %x) uwtable {
11 ; CHECK-NEXT: str x30, [sp, #-16]! // 8-byte Folded Spill
12 ; CHECK-NEXT: .cfi_def_cfa_offset 16
13 ; CHECK-NEXT: .cfi_offset w30, -16
14 ; CHECK-NEXT: adrp x0, .str_1
15 ; CHECK-NEXT: add x0, x0, :lo12:.str_1
16 ; CHECK-NEXT: bl sve_printf
17 ; CHECK-NEXT: ldr x30, [sp], #16 // 8-byte Folded Reload
18 ; CHECK-NEXT: .cfi_def_cfa_offset 0
19 ; CHECK-NEXT: .cfi_restore w30
21 call i32 (ptr, <vscale x 4 x i32>, ...) @sve_printf(ptr @.str_1, <vscale x 4 x i32> %x)