1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3
2 # RUN: llc -mtriple=riscv64 -o - -global-isel -run-pass=none -verify-machineinstrs %s | FileCheck %s
3 # REQUIRES: riscv64-registered-target
6 name: test_copy_physical_to_virtual_nxv1s8
10 tracksRegLiveness: true
12 - { id: 0, class: _, preferred-register: '' }
18 ; CHECK-LABEL: name: test_copy_physical_to_virtual_nxv1s8
21 ; CHECK-NEXT: [[COPY:%[0-9]+]]:_(<vscale x 1 x s8>) = COPY $v8
22 %0:_(<vscale x 1 x s8>) = COPY $v8
26 name: test_copy_physical_to_virtual_nxv16s8
28 tracksRegLiveness: true
32 ; CHECK-LABEL: name: test_copy_physical_to_virtual_nxv16s8
35 ; CHECK-NEXT: [[COPY:%[0-9]+]]:_(<vscale x 16 x s8>) = COPY $v8
36 %0:_(<vscale x 16 x s8>) = COPY $v8
41 name: test_copy_virtual_to_physical
43 regBankSelected: false
45 tracksRegLiveness: true
47 - { id: 0, class: _, preferred-register: '' }
53 ; CHECK-LABEL: name: test_copy_virtual_to_physical
56 ; CHECK-NEXT: [[DEF:%[0-9]+]]:_(<vscale x 1 x s8>) = IMPLICIT_DEF
57 ; CHECK-NEXT: $v8 = COPY [[DEF]](<vscale x 1 x s8>)
58 ; CHECK-NEXT: PseudoRET implicit $v8
59 %0:_(<vscale x 1 x s8>) = IMPLICIT_DEF
60 $v8 = COPY %0(<vscale x 1 x s8>)
61 PseudoRET implicit $v8