# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py # RUN: llc -mtriple riscv64 -mattr=+v -verify-machineinstrs -run-pass=postrapseudos %s -o - | FileCheck %s ... --- name: copy_zvlsseg_N2 body: | bb.0: ; CHECK-LABEL: name: copy_zvlsseg_N2 ; CHECK: $v2 = PseudoVMV1R_V $v4 ; CHECK-NEXT: $v3 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v3 = PseudoVMV1R_V $v4 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v4 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v4 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v0m2 = PseudoVMV2R_V $v4m2 ; CHECK-NEXT: $v2m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v2m2 = PseudoVMV2R_V $v4m2 ; CHECK-NEXT: $v4m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v8m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v6m2 = PseudoVMV2R_V $v4m2 ; CHECK-NEXT: $v8m2 = PseudoVMV2R_V $v4m2 ; CHECK-NEXT: $v10m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v0m4 = PseudoVMV4R_V $v8m4 ; CHECK-NEXT: $v4m4 = PseudoVMV4R_V $v12m4 ; CHECK-NEXT: $v4m4 = PseudoVMV4R_V $v8m4 ; CHECK-NEXT: $v8m4 = PseudoVMV4R_V $v12m4 ; CHECK-NEXT: $v16m4 = PseudoVMV4R_V $v12m4 ; CHECK-NEXT: $v12m4 = PseudoVMV4R_V $v8m4 ; CHECK-NEXT: $v16m4 = PseudoVMV4R_V $v8m4 ; CHECK-NEXT: $v20m4 = PseudoVMV4R_V $v12m4 $v2_v3 = COPY $v4_v5 $v3_v4 = COPY $v4_v5 $v5_v6 = COPY $v4_v5 $v6_v7 = COPY $v4_v5 $v0m2_v2m2 = COPY $v4m2_v6m2 $v2m2_v4m2 = COPY $v4m2_v6m2 $v6m2_v8m2 = COPY $v4m2_v6m2 $v8m2_v10m2 = COPY $v4m2_v6m2 $v0m4_v4m4 = COPY $v8m4_v12m4 $v4m4_v8m4 = COPY $v8m4_v12m4 $v12m4_v16m4 = COPY $v8m4_v12m4 $v16m4_v20m4 = COPY $v8m4_v12m4 ... --- name: copy_zvlsseg_N3 body: | bb.0: ; CHECK-LABEL: name: copy_zvlsseg_N3 ; CHECK: $v2 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v3 = PseudoVMV1R_V $v6 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v7 ; CHECK-NEXT: $v3 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v6 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v7 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v6 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v7 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v7 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v6 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v5 ; CHECK-NEXT: $v10 = PseudoVMV1R_V $v6 ; CHECK-NEXT: $v11 = PseudoVMV1R_V $v7 ; CHECK-NEXT: $v0m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v2m2 = PseudoVMV2R_V $v8m2 ; CHECK-NEXT: $v4m2 = PseudoVMV2R_V $v10m2 ; CHECK-NEXT: $v2m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v4m2 = PseudoVMV2R_V $v8m2 ; CHECK-NEXT: $v6m2 = PseudoVMV2R_V $v10m2 ; CHECK-NEXT: $v14m2 = PseudoVMV2R_V $v10m2 ; CHECK-NEXT: $v12m2 = PseudoVMV2R_V $v8m2 ; CHECK-NEXT: $v10m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v12m2 = PseudoVMV2R_V $v6m2 ; CHECK-NEXT: $v14m2 = PseudoVMV2R_V $v8m2 ; CHECK-NEXT: $v16m2 = PseudoVMV2R_V $v10m2 $v2_v3_v4 = COPY $v5_v6_v7 $v3_v4_v5 = COPY $v5_v6_v7 $v4_v5_v6 = COPY $v5_v6_v7 $v7_v8_v9 = COPY $v5_v6_v7 $v9_v10_v11 = COPY $v5_v6_v7 $v0m2_v2m2_v4m2 = COPY $v6m2_v8m2_v10m2 $v2m2_v4m2_v6m2 = COPY $v6m2_v8m2_v10m2 $v10m2_v12m2_v14m2 = COPY $v6m2_v8m2_v10m2 $v12m2_v14m2_v16m2 = COPY $v6m2_v8m2_v10m2 ... --- name: copy_zvlsseg_N4 body: | bb.0: ; CHECK-LABEL: name: copy_zvlsseg_N4 ; CHECK: $v6 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v10 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v16 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v15 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v14 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v13 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v14 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v15 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v16 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v2m2 = PseudoVMV2R_V $v10m2 ; CHECK-NEXT: $v4m2 = PseudoVMV2R_V $v12m2 ; CHECK-NEXT: $v6m2 = PseudoVMV2R_V $v14m2 ; CHECK-NEXT: $v8m2 = PseudoVMV2R_V $v16m2 ; CHECK-NEXT: $v4m2 = PseudoVMV2R_V $v10m2 ; CHECK-NEXT: $v6m2 = PseudoVMV2R_V $v12m2 ; CHECK-NEXT: $v8m2 = PseudoVMV2R_V $v14m2 ; CHECK-NEXT: $v10m2 = PseudoVMV2R_V $v16m2 ; CHECK-NEXT: $v22m2 = PseudoVMV2R_V $v16m2 ; CHECK-NEXT: $v20m2 = PseudoVMV2R_V $v14m2 ; CHECK-NEXT: $v18m2 = PseudoVMV2R_V $v12m2 ; CHECK-NEXT: $v16m2 = PseudoVMV2R_V $v10m2 ; CHECK-NEXT: $v18m2 = PseudoVMV2R_V $v10m2 ; CHECK-NEXT: $v20m2 = PseudoVMV2R_V $v12m2 ; CHECK-NEXT: $v22m2 = PseudoVMV2R_V $v14m2 ; CHECK-NEXT: $v24m2 = PseudoVMV2R_V $v16m2 $v6_v7_v8_v9 = COPY $v10_v11_v12_v13 $v7_v8_v9_v10 = COPY $v10_v11_v12_v13 $v13_v14_v15_v16 = COPY $v10_v11_v12_v13 $v14_v15_v16_v17 = COPY $v10_v11_v12_v13 $v2m2_v4m2_v6m2_v8m2 = COPY $v10m2_v12m2_v14m2_v16m2 $v4m2_v6m2_v8m2_v10m2 = COPY $v10m2_v12m2_v14m2_v16m2 $v16m2_v18m2_v20m2_v22m2 = COPY $v10m2_v12m2_v14m2_v16m2 $v18m2_v20m2_v22m2_v24m2 = COPY $v10m2_v12m2_v14m2_v16m2 ... --- name: copy_zvlsseg_N5 body: | bb.0: ; CHECK-LABEL: name: copy_zvlsseg_N5 ; CHECK: $v5 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v10 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v16 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v15 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v14 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v15 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v16 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v19 = PseudoVMV1R_V $v14 $v5_v6_v7_v8_v9 = COPY $v10_v11_v12_v13_v14 $v6_v7_v8_v9_v10 = COPY $v10_v11_v12_v13_v14 $v14_v15_v16_v17_v18 = COPY $v10_v11_v12_v13_v14 $v15_v16_v17_v18_v19 = COPY $v10_v11_v12_v13_v14 ... --- name: copy_zvlsseg_N6 body: | bb.0: ; CHECK-LABEL: name: copy_zvlsseg_N6 ; CHECK: $v4 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v10 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v20 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v19 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v16 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v15 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v16 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v19 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v20 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v21 = PseudoVMV1R_V $v15 $v4_v5_v6_v7_v8_v9 = COPY $v10_v11_v12_v13_v14_v15 $v5_v6_v7_v8_v9_v10 = COPY $v10_v11_v12_v13_v14_v15 $v15_v16_v17_v18_v19_v20 = COPY $v10_v11_v12_v13_v14_v15 $v16_v17_v18_v19_v20_v21 = COPY $v10_v11_v12_v13_v14_v15 ... --- name: copy_zvlsseg_N7 body: | bb.0: ; CHECK-LABEL: name: copy_zvlsseg_N7 ; CHECK: $v3 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v16 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v10 = PseudoVMV1R_V $v16 ; CHECK-NEXT: $v22 = PseudoVMV1R_V $v16 ; CHECK-NEXT: $v21 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v20 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v19 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v16 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v19 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v20 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v21 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v22 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v23 = PseudoVMV1R_V $v16 $v3_v4_v5_v6_v7_v8_v9 = COPY $v10_v11_v12_v13_v14_v15_v16 $v4_v5_v6_v7_v8_v9_v10 = COPY $v10_v11_v12_v13_v14_v15_v16 $v16_v17_v18_v19_v20_v21_v22 = COPY $v10_v11_v12_v13_v14_v15_v16 $v17_v18_v19_v20_v21_v22_v23 = COPY $v10_v11_v12_v13_v14_v15_v16 ... --- name: copy_zvlsseg_N8 body: | bb.0: ; CHECK-LABEL: name: copy_zvlsseg_N8 ; CHECK: $v2 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v3 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v16 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v17 ; CHECK-NEXT: $v3 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v4 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v5 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v6 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v7 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v8 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v9 = PseudoVMV1R_V $v16 ; CHECK-NEXT: $v10 = PseudoVMV1R_V $v17 ; CHECK-NEXT: $v24 = PseudoVMV1R_V $v17 ; CHECK-NEXT: $v23 = PseudoVMV1R_V $v16 ; CHECK-NEXT: $v22 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v21 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v20 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v19 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v17 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v18 = PseudoVMV1R_V $v10 ; CHECK-NEXT: $v19 = PseudoVMV1R_V $v11 ; CHECK-NEXT: $v20 = PseudoVMV1R_V $v12 ; CHECK-NEXT: $v21 = PseudoVMV1R_V $v13 ; CHECK-NEXT: $v22 = PseudoVMV1R_V $v14 ; CHECK-NEXT: $v23 = PseudoVMV1R_V $v15 ; CHECK-NEXT: $v24 = PseudoVMV1R_V $v16 ; CHECK-NEXT: $v25 = PseudoVMV1R_V $v17 $v2_v3_v4_v5_v6_v7_v8_v9 = COPY $v10_v11_v12_v13_v14_v15_v16_v17 $v3_v4_v5_v6_v7_v8_v9_v10 = COPY $v10_v11_v12_v13_v14_v15_v16_v17 $v17_v18_v19_v20_v21_v22_v23_v24 = COPY $v10_v11_v12_v13_v14_v15_v16_v17 $v18_v19_v20_v21_v22_v23_v24_v25 = COPY $v10_v11_v12_v13_v14_v15_v16_v17 ...