1 # RUN: llc -mtriple=riscv64 -mattr=+v -run-pass prologepilog %s -o - | FileCheck %s
3 declare void @extern(<vscale x 16 x i8>*) #0
5 define void @addi_rvv_stack_object() #0 {
6 %local0 = alloca <vscale x 16 x i8>, align 16
7 call void @extern(<vscale x 16 x i8>* %local0)
11 attributes #0 = { "target-features"="+v" }
15 name: addi_rvv_stack_object
18 isFrameAddressTaken: false
19 isReturnAddressTaken: false
29 maxCallFrameSize: 4294967295
30 cvBytesOfCalleeSavedRegisters: 0
31 hasOpaqueSPAdjustment: false
33 hasMustTailInVarArgFunc: false
40 - { id: 0, name: local0, type: default, offset: 0, size: 16, alignment: 16,
41 stack-id: scalable-vector, callee-saved-register: '', callee-saved-restored: true,
42 debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
43 # CHECK: - { id: 2, name: '', type: default, offset: -16, size: 8, alignment: 8,
44 # CHECK: stack-id: default, callee-saved-register: '', callee-saved-restored: true,
45 # CHECK: debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
47 debugValueSubstitutions: []
54 ADJCALLSTACKDOWN 0, 0, implicit-def dead $x2, implicit $x2
55 $x10 = ADDI %stack.0.local0, 0
56 PseudoCALL target-flags(riscv-call) @extern, csr_ilp32d_lp64d, implicit-def dead $x1, implicit killed $x10, implicit-def $x2
57 ADJCALLSTACKUP 0, 0, implicit-def dead $x2, implicit $x2