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
13 ; CHECK-LABEL: name: ffbh_u32_s
14 ; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
15 ; CHECK: [[AMDGPU_FFBH_U32_:%[0-9]+]]:sgpr(s32) = G_AMDGPU_FFBH_U32 [[COPY]](s32)
16 %0:_(s32) = COPY $sgpr0
17 %1:_(s32) = G_AMDGPU_FFBH_U32 %0
27 ; CHECK-LABEL: name: ffbh_u32_v
28 ; CHECK: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
29 ; CHECK: [[AMDGPU_FFBH_U32_:%[0-9]+]]:vgpr(s32) = G_AMDGPU_FFBH_U32 [[COPY]](s32)
30 %0:_(s32) = COPY $vgpr0
31 %1:_(s32) = G_AMDGPU_FFBH_U32 %0