1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck -check-prefix=GFX9 %s
3 # RUN: llc -mtriple=amdgcn -mcpu=gfx1010 -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck -check-prefix=GFX9 %s
4 # RUN: llc -mtriple=amdgcn -mcpu=gfx1100 -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck -check-prefix=GFX9 %s
7 name: fmaxnum_ieee_v2f16_vv
13 liveins: $sgpr0, $sgpr1
15 ; GFX9-LABEL: name: fmaxnum_ieee_v2f16_vv
16 ; GFX9: liveins: $sgpr0, $sgpr1
18 ; GFX9-NEXT: [[COPY:%[0-9]+]]:vgpr_32 = COPY $vgpr0
19 ; GFX9-NEXT: [[COPY1:%[0-9]+]]:vgpr_32 = COPY $vgpr1
20 ; GFX9-NEXT: %2:vgpr_32 = nofpexcept V_PK_MAX_F16 8, [[COPY]], 8, [[COPY1]], 0, 0, 0, 0, 0, implicit $mode, implicit $exec
21 ; GFX9-NEXT: S_ENDPGM 0, implicit %2
22 %0:vgpr(<2 x s16>) = COPY $vgpr0
23 %1:vgpr(<2 x s16>) = COPY $vgpr1
24 %2:vgpr(<2 x s16>) = G_FMAXNUM_IEEE %0, %1
25 S_ENDPGM 0, implicit %2