brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · b569854 Raw
48 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc -mtriple=riscv64 -mattr=+m,+c,+v  < %s | FileCheck --check-prefix=RV64V %s3 4define dso_local void @_Z3fooPKcz(ptr noundef %0, ...) "frame-pointer"="all" {5; RV64V-LABEL: _Z3fooPKcz:6; RV64V:       # %bb.0:7; RV64V-NEXT:    addi sp, sp, -4968; RV64V-NEXT:    .cfi_def_cfa_offset 4969; RV64V-NEXT:    sd ra, 424(sp) # 8-byte Folded Spill10; RV64V-NEXT:    sd s0, 416(sp) # 8-byte Folded Spill11; RV64V-NEXT:    .cfi_offset ra, -7212; RV64V-NEXT:    .cfi_offset s0, -8013; RV64V-NEXT:    addi s0, sp, 43214; RV64V-NEXT:    .cfi_def_cfa s0, 6415; RV64V-NEXT:    lui t0, 216; RV64V-NEXT:    addi t0, t0, -57617; RV64V-NEXT:    sub sp, sp, t018; RV64V-NEXT:    sd a5, 40(s0)19; RV64V-NEXT:    sd a6, 48(s0)20; RV64V-NEXT:    sd a7, 56(s0)21; RV64V-NEXT:    sd a1, 8(s0)22; RV64V-NEXT:    sd a2, 16(s0)23; RV64V-NEXT:    sd a3, 24(s0)24; RV64V-NEXT:    sd a4, 32(s0)25; RV64V-NEXT:    sd a0, -32(s0)26; RV64V-NEXT:    addi a0, s0, 827; RV64V-NEXT:    sd a0, -40(s0)28; RV64V-NEXT:    addi sp, s0, -43229; RV64V-NEXT:    .cfi_def_cfa sp, 49630; RV64V-NEXT:    ld ra, 424(sp) # 8-byte Folded Reload31; RV64V-NEXT:    ld s0, 416(sp) # 8-byte Folded Reload32; RV64V-NEXT:    .cfi_restore ra33; RV64V-NEXT:    .cfi_restore s034; RV64V-NEXT:    addi sp, sp, 49635; RV64V-NEXT:    .cfi_def_cfa_offset 036; RV64V-NEXT:    ret37  %2 = alloca ptr, align 838  %3 = alloca ptr, align 839  %4 = alloca [8000 x i8], align 140  store ptr %0, ptr %2, align 841  call void @llvm.va_start.p0(ptr %3)42  %5 = getelementptr inbounds [8000 x i8], ptr %4, i64 0, i64 043  %6 = load ptr, ptr %2, align 844  %7 = load ptr, ptr %3, align 845  call void @llvm.va_end.p0(ptr %3)46  ret void47}48