1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-fast | FileCheck %s 3# RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-greedy | FileCheck %s 4 5--- 6name: bitcast_s 7legalized: true 8 9body: | 10 bb.0: 11 liveins: $sgpr0 12 ; CHECK-LABEL: name: bitcast_s 13 ; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0 14 ; CHECK: [[BITCAST:%[0-9]+]]:sgpr(<2 x s16>) = G_BITCAST [[COPY]](s32) 15 %0:_(s32) = COPY $sgpr0 16 %1:_(<2 x s16>) = G_BITCAST %0 17... 18 19--- 20name: bitcast_v 21legalized: true 22 23body: | 24 bb.0: 25 liveins: $vgpr0 26 ; CHECK-LABEL: name: bitcast_v 27 ; CHECK: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0 28 ; CHECK: [[BITCAST:%[0-9]+]]:vgpr(<2 x s16>) = G_BITCAST [[COPY]](s32) 29 %0:_(s32) = COPY $vgpr0 30 %1:_(<2 x s16>) = G_BITCAST %0 31... 32