1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-fast | FileCheck %s
3 # RUN: llc -march=amdgcn -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-greedy | FileCheck %s
12 ; CHECK-LABEL: name: fabs_s
13 ; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
14 ; CHECK: [[FABS:%[0-9]+]]:sgpr(s32) = G_FABS [[COPY]]
15 ; CHECK: $vgpr0 = COPY [[FABS]](s32)
16 %0:_(s32) = COPY $sgpr0
28 ; CHECK-LABEL: name: fabs_v
29 ; CHECK: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
30 ; CHECK: [[FABS:%[0-9]+]]:vgpr(s32) = G_FABS [[COPY]]
31 ; CHECK: $vgpr0 = COPY [[FABS]](s32)
32 %0:_(s32) = COPY $vgpr0