1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -mcpu=hawaii -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck %s
8 tracksRegLiveness: true
14 ; CHECK-LABEL: name: ffloor_s64_vv
15 ; CHECK: liveins: $vgpr0_vgpr1
16 ; CHECK: [[COPY:%[0-9]+]]:vreg_64 = COPY $vgpr0_vgpr1
17 ; CHECK: %1:vreg_64 = nofpexcept V_FLOOR_F64_e64 0, [[COPY]], 0, 0, implicit $mode, implicit $exec
18 ; CHECK: $vgpr0_vgpr1 = COPY %1
19 %0:vgpr(s64) = COPY $vgpr0_vgpr1
20 %1:vgpr(s64) = G_FFLOOR %0
21 $vgpr0_vgpr1 = COPY %1
24 # FIXME: Constant bus restriction
28 # regBankSelected: true
29 # tracksRegLiveness: true
33 # liveins: $sgpr0_sgpr1
35 # %0:sgpr(s64) = COPY $sgpr0_sgpr1
36 # %1:vgpr(s64) = G_FFLOOR %0
37 # $vgpr0_vgpr1 = COPY %1
41 name: ffloor_fneg_s64_vv
44 tracksRegLiveness: true
50 ; CHECK-LABEL: name: ffloor_fneg_s64_vv
51 ; CHECK: liveins: $vgpr0_vgpr1
52 ; CHECK: [[COPY:%[0-9]+]]:vreg_64 = COPY $vgpr0_vgpr1
53 ; CHECK: %2:vreg_64 = nofpexcept V_FLOOR_F64_e64 1, [[COPY]], 0, 0, implicit $mode, implicit $exec
54 ; CHECK: $vgpr0_vgpr1 = COPY %2
55 %0:vgpr(s64) = COPY $vgpr0_vgpr1
56 %1:vgpr(s64) = G_FNEG %0
57 %2:vgpr(s64) = G_FFLOOR %1
58 $vgpr0_vgpr1 = COPY %2