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
12 ; CHECK-LABEL: name: frint_s
13 ; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
14 ; CHECK: [[FRINT_:%[0-9]+]]:vgpr(s32) = G_FRINT [[COPY]]
15 %0:_(s32) = COPY $sgpr0
16 %1:_(s32) = G_FRINT %0
26 ; CHECK-LABEL: name: frint_v
27 ; CHECK: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
28 ; CHECK: [[FRINT_:%[0-9]+]]:vgpr(s32) = G_FRINT [[COPY]]
29 %0:_(s32) = COPY $vgpr0
30 %1:_(s32) = G_FRINT %0