[llvm-objdump] - Remove one overload of reportError. NFCI.
[llvm-complete.git] / test / CodeGen / AMDGPU / GlobalISel / inst-select-fptoui.mir
blob81e5ad01c0afb34bf877f0c812f079f745c21fd8
1 # RUN: llc -march=amdgcn -mcpu=hawaii -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck %s -check-prefix=GCN
3 ---
5 name:            fptoui
6 legalized:       true
7 regBankSelected: true
9 # GCN-LABEL: name: fptoui
10 body: |
11   bb.0:
12     liveins: $sgpr0, $vgpr0, $vgpr3_vgpr4
14     ; GCN: [[SGPR:%[0-9]+]]:sreg_32_xm0 = COPY $sgpr0
15     %0:sgpr(s32) = COPY $sgpr0
17     ; GCN: [[VGPR:%[0-9]+]]:vgpr_32 = COPY $vgpr0
18     %1:vgpr(s32) = COPY $vgpr0
20     %2:vgpr(p1) = COPY $vgpr3_vgpr4
22     ; fptoui s
23     ; GCN: V_CVT_U32_F32_e64 0, [[SGPR]], 0, 0
24     %3:vgpr(s32) = G_FPTOUI %0
26     ; fptoui v
27     ; GCN: V_CVT_U32_F32_e64 0, [[VGPR]], 0, 0
28     %4:vgpr(s32) = G_FPTOUI %1
30     G_STORE %3, %2 :: (store 4, addrspace 1)
31     G_STORE %4, %2 :: (store 4, addrspace 1)
32 ...