1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve -run-pass=postrapseudos -simplify-mir -verify-machineinstrs %s -o - | FileCheck %s
7 tracksRegLiveness: true
15 ; CHECK-LABEL: name: copy_zpr2
16 ; CHECK: liveins: $z0_z1
17 ; CHECK: $z2 = ORR_ZZZ $z1, $z1
18 ; CHECK: $z1 = ORR_ZZZ $z0, $z0
19 ; CHECK: $z0 = ORR_ZZZ $z1, $z1
20 ; CHECK: $z1 = ORR_ZZZ $z2, $z2
30 tracksRegLiveness: true
32 - { reg: '$z0_z1_z2' }
38 ; CHECK-LABEL: name: copy_zpr3
39 ; CHECK: liveins: $z0_z1_z2
40 ; CHECK: $z3 = ORR_ZZZ $z2, $z2
41 ; CHECK: $z2 = ORR_ZZZ $z1, $z1
42 ; CHECK: $z1 = ORR_ZZZ $z0, $z0
43 ; CHECK: $z0 = ORR_ZZZ $z1, $z1
44 ; CHECK: $z1 = ORR_ZZZ $z2, $z2
45 ; CHECK: $z2 = ORR_ZZZ $z3, $z3
47 $z1_z2_z3 = COPY $z0_z1_z2
48 $z0_z1_z2 = COPY $z1_z2_z3
55 tracksRegLiveness: true
57 - { reg: '$z0_z1_z2_z3' }
63 ; CHECK-LABEL: name: copy_zpr4
64 ; CHECK: liveins: $z0_z1_z2_z3
65 ; CHECK: $z4 = ORR_ZZZ $z3, $z3
66 ; CHECK: $z3 = ORR_ZZZ $z2, $z2
67 ; CHECK: $z2 = ORR_ZZZ $z1, $z1
68 ; CHECK: $z1 = ORR_ZZZ $z0, $z0
69 ; CHECK: $z0 = ORR_ZZZ $z1, $z1
70 ; CHECK: $z1 = ORR_ZZZ $z2, $z2
71 ; CHECK: $z2 = ORR_ZZZ $z3, $z3
72 ; CHECK: $z3 = ORR_ZZZ $z4, $z4
74 $z1_z2_z3_z4 = COPY $z0_z1_z2_z3
75 $z0_z1_z2_z3 = COPY $z1_z2_z3_z4