1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2# RUN: llc -march=amdgcn -mcpu=gfx900 -run-pass=instruction-select -verify-machineinstrs -o - %s  | FileCheck -check-prefix=GFX9 %s
3
4---
5name: fminnum_v2f16_vv
6legalized: true
7regBankSelected: true
8
9body: |
10  bb.0:
11    liveins: $sgpr0, $sgpr1
12
13    ; GFX9-LABEL: name: fminnum_v2f16_vv
14    ; GFX9: [[COPY:%[0-9]+]]:vgpr_32 = COPY $vgpr0
15    ; GFX9: [[COPY1:%[0-9]+]]:vgpr_32 = COPY $vgpr1
16    ; GFX9: %2:vgpr_32 = nofpexcept V_PK_MIN_F16 8, [[COPY]], 8, [[COPY1]], 0, 0, 0, 0, 0, implicit $mode, implicit $exec
17    ; GFX9: S_ENDPGM 0, implicit %2
18    %0:vgpr(<2 x s16>) = COPY $vgpr0
19    %1:vgpr(<2 x s16>) = COPY $vgpr1
20    %2:vgpr(<2 x s16>) = G_FMINNUM %0, %1
21    S_ENDPGM 0, implicit %2
22...
23