1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -mtriple=amdgcn-- -O0 -run-pass=legalizer -o - %s | FileCheck %s 3 4--- 5name: test_unmerge_s64_s32 6body: | 7 bb.0: 8 ; CHECK-LABEL: name: test_unmerge_s64_s32 9 ; CHECK: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 0 10 ; CHECK: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[C]](s64) 11 ; CHECK: $vgpr0 = COPY [[UV]](s32) 12 ; CHECK: $vgpr2 = COPY [[UV1]](s32) 13 %0:_(s64) = G_CONSTANT i64 0 14 %1:_(s32), %2:_(s32) = G_UNMERGE_VALUES %0:_(s64) 15 $vgpr0 = COPY %1(s32) 16 $vgpr2 = COPY %2(s32) 17... 18 19--- 20name: test_unmerge_v2s32_s32 21body: | 22 bb.0: 23 liveins: $vgpr0_vgpr1 24 ; CHECK-LABEL: name: test_unmerge_v2s32_s32 25 ; CHECK: [[COPY:%[0-9]+]]:_(<2 x s32>) = COPY $vgpr0_vgpr1 26 ; CHECK: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[COPY]](<2 x s32>) 27 ; CHECK: $vgpr0 = COPY [[UV]](s32) 28 ; CHECK: $vgpr2 = COPY [[UV1]](s32) 29 %0:_(<2 x s32>) = COPY $vgpr0_vgpr1 30 %1:_(s32), %2:_(s32) = G_UNMERGE_VALUES %0:_(<2 x s32>) 31 $vgpr0 = COPY %1(s32) 32 $vgpr2 = COPY %2(s32) 33... 34