brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · 64430c9 Raw
61 lines · plain
1# RUN: llc -mtriple=riscv64 -mattr=+v -run-pass prologepilog %s -o - | FileCheck %s2--- |3  declare void @extern(ptr) #04  5  define void @addi_rvv_stack_object() #0 {6    %local0 = alloca <vscale x 16 x i8>, align 167    call void @extern(ptr %local0)8    ret void9  }10  11  attributes #0 = { "target-features"="+v" }12 13...14---15name:            addi_rvv_stack_object16alignment:       417frameInfo:18  isFrameAddressTaken: false19  isReturnAddressTaken: false20  hasStackMap:     false21  hasPatchPoint:   false22  stackSize:       023  offsetAdjustment: 024  maxAlignment:    1625  adjustsStack:    true26  hasCalls:        true27  stackProtector:  ''28  functionContext: ''29  maxCallFrameSize: 429496729530  cvBytesOfCalleeSavedRegisters: 031  hasOpaqueSPAdjustment: false32  hasVAStart:      false33  hasMustTailInVarArgFunc: false34  hasTailCall:     false35  localFrameSize:  036  savePoint:       []37  restorePoint:    []38fixedStack:      []39stack: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: spill-slot, 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: '' }46callSites:       []47debugValueSubstitutions: []48constants:       []49machineFunctionInfo:50  varArgsFrameIndex: 051  varArgsSaveSize: 052body:             |53  bb.0 (%ir-block.0):54    ADJCALLSTACKDOWN 0, 0, implicit-def dead $x2, implicit $x255    $x10 = ADDI %stack.0.local0, 056    PseudoCALL target-flags(riscv-call) @extern, csr_ilp32d_lp64d, implicit-def dead $x1, implicit killed $x10, implicit-def $x257    ADJCALLSTACKUP 0, 0, implicit-def dead $x2, implicit $x258    PseudoRET59 60...61