1 # RUN: llc -march=amdgcn -mcpu=gfx900 -run-pass=instruction-select -global-isel-abort=0 -verify-machineinstrs -o - %s | FileCheck -check-prefix=GFX9 %s
2 # FIXME: Ideally this would fail to select with ieee mode enabled.
11 liveins: $sgpr0, $sgpr1
13 ; GFX9-LABEL: name: fmaxnum_v2f16_vv
14 ; GFX9: [[COPY:%[0-9]+]]:vgpr(<2 x s16>) = COPY $vgpr0
15 ; GFX9: [[COPY1:%[0-9]+]]:vgpr(<2 x s16>) = COPY $vgpr1
16 ; GFX9: [[FMAXNUM:%[0-9]+]]:vgpr(<2 x s16>) = G_FMAXNUM [[COPY]], [[COPY1]]
17 ; GFX9: S_ENDPGM 0, implicit [[FMAXNUM]](<2 x s16>)
18 %0:vgpr(<2 x s16>) = COPY $vgpr0
19 %1:vgpr(<2 x s16>) = COPY $vgpr1
20 %2:vgpr(<2 x s16>) = G_FMAXNUM %0, %1
21 S_ENDPGM 0, implicit %2