1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-linux-gnu -O0 -run-pass=legalizer %s -global-isel-abort=1 -o - | FileCheck %s
5 name: legal_v4s32_v2s32
9 ; CHECK-LABEL: name: legal_v4s32_v2s32
10 ; CHECK: [[COPY:%[0-9]+]]:_(<2 x s32>) = COPY $d0
11 ; CHECK: [[COPY1:%[0-9]+]]:_(<2 x s32>) = COPY $d1
12 ; CHECK: [[CONCAT_VECTORS:%[0-9]+]]:_(<4 x s32>) = G_CONCAT_VECTORS [[COPY]](<2 x s32>), [[COPY1]](<2 x s32>)
13 ; CHECK: $q0 = COPY [[CONCAT_VECTORS]](<4 x s32>)
15 %0:_(<2 x s32>) = COPY $d0
16 %1:_(<2 x s32>) = COPY $d1
17 %2:_(<4 x s32>) = G_CONCAT_VECTORS %0(<2 x s32>), %1(<2 x s32>)
18 $q0 = COPY %2(<4 x s32>)
22 name: legal_v8s16_v4s16
26 ; CHECK-LABEL: name: legal_v8s16_v4s16
27 ; CHECK: [[COPY:%[0-9]+]]:_(<4 x s16>) = COPY $d0
28 ; CHECK: [[COPY1:%[0-9]+]]:_(<4 x s16>) = COPY $d1
29 ; CHECK: [[CONCAT_VECTORS:%[0-9]+]]:_(<8 x s16>) = G_CONCAT_VECTORS [[COPY]](<4 x s16>), [[COPY1]](<4 x s16>)
30 ; CHECK: $q0 = COPY [[CONCAT_VECTORS]](<8 x s16>)
32 %0:_(<4 x s16>) = COPY $d0
33 %1:_(<4 x s16>) = COPY $d1
34 %2:_(<8 x s16>) = G_CONCAT_VECTORS %0(<4 x s16>), %1(<4 x s16>)
35 $q0 = COPY %2(<8 x s16>)