1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=riscv64 -run-pass=legalizer %s -o - | FileCheck --check-prefix=RV64 %s
6 tracksRegLiveness: true
8 - { id: 0, size: 8, alignment: 16, isImmutable: true }
10 - { id: 0, size: 8, alignment: 8 }
16 liveins: $x10, $x11, $x12, $x13, $x14, $x15, $x16, $x17
18 ; RV64-LABEL: name: test_va_start
19 ; RV64: liveins: $x10, $x11, $x12, $x13, $x14, $x15, $x16, $x17
21 ; RV64-NEXT: [[FRAME_INDEX:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0
22 ; RV64-NEXT: [[FRAME_INDEX1:%[0-9]+]]:_(p0) = G_FRAME_INDEX %fixed-stack.0
23 ; RV64-NEXT: G_STORE [[FRAME_INDEX1]](p0), [[FRAME_INDEX]](p0) :: (store (s64))
24 ; RV64-NEXT: PseudoRET
25 %8:_(p0) = G_FRAME_INDEX %stack.0
26 G_VASTART %8(p0) :: (store (s64))